Unix Timestamp
unix-timestamp
The number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, widely used in computing to represent points in time.
year 2038 problem
The Year 2038 Problem (also known as Y2K38) occurs when systems storing Unix timestamps as 32-bit signed integers reach their maximum value of 2,147,483,647 at 03:14:07 UTC on 19 January 2038. The next second causes an integer overflow, wrapping the value to -2,147,483,648, which is interpreted as 13 December 1901. Any software relying on 32-bit time_t will produce incorrect dates from that point onward.
Modern 64-bit operating systems have largely addressed this issue, but risk remains in embedded systems (IoT devices, industrial controllers, automotive ECUs), legacy file formats (ext3 filesystem timestamps), outdated database schemas, and libraries that still use 32-bit integers internally. Any system with a long service life that was designed before 64-bit adoption is potentially vulnerable.
The fundamental fix is migrating timestamp storage to 64-bit integers, which can represent roughly 292 billion years and is effectively unlimited for practical purposes. The Linux kernel added support for 32-bit systems to handle post-2038 dates in version 5.6 (released 2020). Application developers should audit their libraries and databases for 32-bit timestamp dependencies and plan migrations well in advance of the deadline.
Was this article helpful?
unix-timestamp
The number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, widely used in computing to represent points in time.
epoch
A fixed reference point in time from which a system measures elapsed time, most commonly January 1, 1970 for Unix systems.
iso-8601
An international standard for representing dates and times in an unambiguous, machine-readable format.
Learn what Unix timestamps are, why they count seconds from January 1, 1970, how to convert them to human-readable dates, and what the Year 2038 problem means.
Leap years are not simply every fourth year. The Gregorian calendar uses a 400-year cycle with two exception rules to keep the calendar aligned with Earth's orbit. This article explains the astronomy behind the rules, the implementation pitfalls programmers face, and the looming year 4000 problem.
New Year arrives over a 26-hour wave that starts at Kiribati's Line Islands and ends at Baker Island. This article follows the wave through major cities, surveys non-Gregorian new years still celebrated, and looks at what the new year means to IT systems running on UTC.