5 ms·
I worked with the 16 bit PIC24f. I don't have the source handy to check, but according to a forum entry "The provided gmtime() actually fails earlier than 2038.
by wongarsu 6y ago
I worked with the 16 bit PIC24f. I don't have the source handy to check, but according to a forum entry "The provided gmtime() actually fails earlier than 2038. The year wraps around when the time_t input goes beyond 0x7C55817F or Thu Feb 7 06:28:15 2036." [1]
1: https://www.microchip.com/forums/m522929.aspx https://www.microchip.com/forums/m522929.aspx
- hazeii 6y agoThanks - so seems it's an issue with their library, rather than something to with PIC's per se.