3 ms·
How can 1904 + 2^31 seconds = 2010 when 1970 + 2^31 seconds = 2038?
by glandium 12y ago
How can 1904 + 2^31 seconds = 2010 when 1970 + 2^31 seconds = 2038?
- judk 12y agoParent poster mis-recalled details. The bug is 30-bit signed ints (29bits) with epoch 1993.
- SeanLuke 12y agoGah, indeed I did. The Newton actually has two different epochs, Jan 1 1904 for the OS epoch (same as early Macs) with 32 bits and Jan 1 1993 for the NewtonScript epoch with 29 bits. Someone's tired.