4 ms·
What do we do about date calculations that cross an epoch wrap?
by joezydeco 15y ago
What do we do about date calculations that cross an epoch wrap?
- Corun 15y agoSigned 64 bit seconds since epoch is enough.
- joezydeco 15y agoIs the whole Internet on 64-bit time_t now? Will they all be by 2038? I'm guessing we won't know that answer until 2037...
- sanxiyn 15y agox32 ABI, which got merged in newly released Linux 3.4, defines time_t to be 64-bit. I am starting to feel hopeful that we will be better prepared.
- joezydeco 15y agoThat's cool for Linux, going forward. Now we just have to take care of all the old mainframes and legacy system that will never get their O/S updated...
- nickzoic 15y agoWe won't know until 1901 ... >>> datetime.datetime.utcfromtimestamp(-2**31) datetime.datetime(1901, 12, 13, 20, 45, 52)