3 ms·
In 2038, the coal company clocks roll back to 1901, when all was good in the world for them.
by cozzyd 8y ago
In 2038, the coal company clocks roll back to 1901, when all was good in the world for them.
- kbutler 8y ago...to 1970...
- jcranmer 8y agoNo, 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 8y ago... which was a very great year for lignite mining: https://www.oeko.de/fileadmin/oekodoc/BET2017-Hermann-Oeko-Institut.pdf#page=2 https://www.oeko.de/fileadmin/oekodoc/BET2017-Hermann-Oeko-I...
- cozzyd 8y agoIf our Unix forefathers had the foresight to make time_t unsigned, then we wouldn't have to worry about this problem until after 2100.