mvc scheduler recurrence exception parsing in code behind

2 posts, 0 answers
  1. rakesh
    rakesh avatar
    2 posts
    Member since:
    Nov 2018

    Posted 30 Oct 2020 Link to this post

    hello. the recurrence exception generated from scheduler is in the format 20201028T053000Z. how can i parse it to datetime in c#?
  2. Neli
    Neli avatar
    397 posts

    Posted 03 Nov 2020 Link to this post

    Hi Rakesh,

    In order for a recurrence exception to be correctly set, you do not need to convert the 'yyyyMMddTHHmmssZ' string to a DateTime. In case, for some reason,  you need to parse the string to a date, you could use the approach described in the following StackOverflow thread. 


    I hope, that the above helps you. Let me know in case you have additional questions on the matter.

    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at

Back to Top