Re:2038: Only 21 years away
by lazyjones on Tuesday March 21, 2017 @11:48AM
(#13923271)
Meh, we'll just redefine time_t as (signed) seconds since 2000 or so and subtract 30 years in seconds from all timestamps ... ;-)
[ Parent
| on HN ]
All transactions between 1970 and 1999 have/will now occur between 2038 and 2068.
No, you make it time_t (unsigned) seconds since the epoch. That pushes the problem out 70+ years and doesn't break any binary APIs.
Changing from signed to unsigned is very much an ABI break.