This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Calendar data type manipulation

Hello All,

I am writing a Scheduler (posted question regarding timers earlier) which must handle long delays: from 1s to several days. What would be the easiest way to add, lets say, 10.000 seconds to the current Calendar time?

Is there any library to help me with RTC_TimeTypeDef & RTC_DateTypeDef manipulation or do I have to handle this manually? I feel that manual date handling (and different day count in different months) is going to be time consuming and somewhat redundant.

Thanks,
G.