View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-13-2022 , 20:14   Re: Year 2038 problem
Reply With Quote #4

You'd probably only be aware if you've worked with and understand how Unix timestamps work. Basically once we reach the largest value in seconds that can be stored in a 32-bit signed integer, you are at a dead-end from a timestamp/time tracking perspective. It's 'easy' to overcome the issue, but requires work nonetheless. Either use an unsigned 32-bit integer or ideally a 64 bit integer: signed or unsigned doesn't matter as the world will probably end before we reach the boundary/cap of a 64 bit signed integer.

https://ximalas.info/2015/03/10/when..._t-really-end/
Code:
When we gather all the bits and pieces, the end date might be December 4th, 292,277,026,596 AD, at 20:10:55 UTC. Or maybe it’s December the 3rd, or the 5th.
__________________
Bugsy is offline