Hi,
I have found an inconsistency in the documentation I could find on the tm vs time_t documentation for the time.h header
https://mikaelpatel.github.io/Arduino-RTC/d8/d5a/structtm.html#a933e733942822b2def4aa966ee811293
int16_t tm::tm_year
Years since 1900.
Definition at line 43 of file time.h.
BUT
typedef uint32_t time_t
time_t represents seconds elapsed from Midnight, Jan 1 2000 UTC (the Y2K 'epoch'). Its range allows this implementation to represent time up to Tue Feb 7 06:28:15 2136 UTC.
Definition at line 30 of file time.h.
As the epoch on Arduino is 2000, the tm_year definition should be years since 2000.
Where are the official comments/ documentation for time.h and do they need updating?
Thanks.