Home / Guides / The Year 2038 problem (Y2038)Guide

The Year 2038 problem is an overflow that occurs in systems storing Unix time in seconds as a signed 32-bit integer. The maximum time such a value can represent is 2038-01-19 03:14:07 UTC; one second later the value overflows into negative territory and can be miscalculated as 1901.

It's often called Y2038 or the 'Epochalypse.' The fix is to store timestamps as 64-bit, which can represent hundreds of billions of years — effectively no limit.

Most modern operating systems and languages already use 64-bit time, but old embedded devices and 32-bit storage fields still need care. AG TIME is millisecond-based, so it comfortably handles times well beyond that range.

Try it in the converter
All guides