How can we get the end date of the occurrence? - from 159743

can we also get the end date of the occurrence


1 Reply

SR Swathi Ravi Syncfusion Team October 25, 2024 01:02 PM UTC

Hi Muhammad maddy,

Thank you for reaching out with your question.

To retrieve the end date of the last occurrence in a recurrence series, you can use the DateList property. By accessing the last item in the DateList collection (DateList[DateList.length - 1]), you’ll get the final date in the sequence. Check our shared sample.

If you’re looking to identify the end date for each individual occurrence in the series, please let us know with a bit more detail so we can assist further.

Regards,
Swathi Ravi

Attachment: mvcschedulerrecurrencehelper_a4cd2847.zip

Loader.
Up arrow icon