Year 2038 Problem

See when signed 32 bit Unix time runs out and check what happens when a timestamp wraps.

Loading tool…

What is the Year 2038 problem?

Some systems store Unix time as a signed 32 bit integer. Its largest value is 2147483647 seconds since 1 January 1970 at midnight UTC. That last second is 19 January 2038 at 03:14:07 UTC.

One second later, the timestamp is too large for the original field. If software keeps only the lowest 32 bits and reads them as a signed value, the result points to 13 December 1901 at 20:45:52 UTC. Some software returns an error instead.

The fix is to use a timestamp type with a wider range. Check the whole path, including stored data, file formats, and interfaces between systems. Software that already handles future dates can hit the limit before 2038.

How to use this tool

  1. Enter Unix seconds or pick a UTC date and time.
  2. Check if the timestamp fits in the signed 32 bit range. Compare the actual UTC date with the simulated wrap.

Example

Enter 2147483647 to see the last second that fits. Increase the value to 2147483648 and the simulated result wraps to negative 2147483648.

Common questions

Does every computer fail in 2038?

No. This limit applies to software that uses signed 32 bit Unix seconds. A system can use a wider date type and still have an older file format or interface with the smaller limit.

Can the problem happen before 2038?

Yes. A system may need to handle dates beyond the limit years in advance, for example when it stores a long contract’s end date.