Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
expathacker
· 7y ago · 0 comments
2038? Does this have to do with Epoch time ending somehow?
Comments
[–]
philwelch
7y ago
Yeah, coal-powered computers can only handle 32-bit integers ;)
[–]
cozzyd
7y ago
In 2038, the coal company clocks roll back to 1901, when all was good in the world for them.
[–]
kbutler
7y ago
...to 1970...
[–]
jcranmer
7y ago
No, it rolls over to 1901. time_t is a signed value, and 2038 is when it rolls over from 2³¹ - 1 to -2³¹. That would be 2 billion seconds before 1970, or 1901.
[–]
est31
7y ago
... which was a very great year for lignite mining:
https://www.oeko.de/fileadmin/oekodoc/BET2017-Hermann-Oeko-I...
[–]
cozzyd
7y ago
If our Unix forefathers had the foresight to make time_t unsigned, then we wouldn't have to worry about this problem until after 2100.
[–]
2038AD
7y ago
I would guess, when originally suggested, it was $current_year + 2 decades.