Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 12 months ago.
Mbed Time.h Month representation values
Mbed Month values are 00 - 11 (January to December).
The Time handbook page is contradictory one example shows 00 - 11 and further down it shows 01 - 12
https://developer.mbed.org/handbook/Time?action=view&revision=11592#localtime
All RTC clock chips I have seen and DCF77 and MSF have the 01 - 12 convention and this link that many of us use indicates the same.
http://www.cplusplus.com/reference/ctime/strftime/
Should Mbed be changed to 01 - 12 for consistency?
Something to look at :)
posted by Martin Kojtal 27 May 2015