calculate end_date

Hello!

The end date of the event varies depending on the type of event (daily, weekly, monthly …) Can you send me the routine / function that is used to calculate the end date from “rec_type”?

What do you mean by end-date ?

You can try to use the updated extension
viewtopic.php?f=6&t=13634&p=40136&hilit=getrecdates#p40136
and use getRecDates to get end-date of each ( and if necessary - last ) event occurrence