Get Last Date of Recurring Appointment

2 posts, 0 answers
  1. Eric Smith
    Eric Smith avatar
    9 posts
    Member since:
    Nov 2004

    Posted 30 Nov 2016 Link to this post

    How can I calculate the last date on a Recurring Appointment in code without using selecting the last Occurrence from the RecurrenceRule.Occurrences collection?

    Is there some static method that will allow me to return the date of the last Occurrence of a recurring Appointment?



  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1178 posts

    Posted 05 Dec 2016 Link to this post

    Hi Eric,

    There is no method, that will return the date of the last occurrence of a recurring appointment. To get that date, you will nee to get the last appointment in the Occurrences collection of the RecurrenceRule object.

    Veselin Tsvetanov
    Telerik by Progress
    Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.
Back to Top