|
|
Log in / Subscribe / Register

2038 is closer than it seems

2038 is closer than it seems

Posted May 23, 2014 21:37 UTC (Fri) by Jonno (guest, #49613)
In reply to: 2038 is closer than it seems by kleptog
Parent article: 2038 is closer than it seems

> Ok, so now it's 2038, what does the 32-bit interface return after that? Or does it return 0x7FFFFFFF forever?

Presumably it will be treated as an unsigned integer, covering 1970-2106 instead of 1901-2038.


to post comments

2038 is closer than it seems

Posted Dec 5, 2016 14:26 UTC (Mon) by mirabilos (subscriber, #84359) [Link]

Changing the type of time_t from 31 bit (plus sign) to 32 bit is an API (not just ABI) break just as (or even worse, for the API) changing it to 63 bit (plus sign) is.

(Yes, I know about complement representation, but that was not the point here.)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds