Skip to content
The Year 2038 Problem: The Day Clocks Jump Back 136 Years, and the Lessons of Y2K

The Year 2038 Problem: The Day Clocks Jump Back 136 Years, and the Lessons of Y2K

Tuesday, January 19, 2038, at 12:14:07 p.m. Japan time. At that second, some of the world's computers are expected to lose track of the correct time. This is known as the Year 2038 problem (Y2038). As of November 2026, it is about 11 years and 2 months away, which may sound distant, but failures caused by this problem have already surfaced several times. Comparing it with the experience of the Year 2000 problem (Y2K), this article explains how the problem works, the work of the engineers who have dealt with it ahead of time, and the issues that remain.

A Clock That Jumps Back 136 Years in One Second

Many systems keep time using "Unix time," which counts the number of seconds elapsed since 00:00:00 Coordinated Universal Time (UTC) on January 1, 1970. For a long time, the variable holding this count has been a 32-bit signed integer. The largest value it can hold is 2,147,483,647, which will be reached at 03:14:07 UTC on January 19, 2038.

One second later, the counter overflows: the bit that represents the sign flips, and the value becomes the minimum, -2,147,483,648. Systems interpret this as 20:45:52 UTC on December 13, 1901. Because the clock jumps back about 136 years in an instant, it is expected to set off a chain of failures, including scheduled jobs misfiring, valid certificates being judged expired, corrupted data, and systems shutting down.

An Intern Who Rewrote Five Versions

The open-source community was the first to take on this problem. At its center were Linux kernel developer Arnd Bergmann and Deepa Dinamani, who joined him as an intern through Outreachy, a program that supports newcomers to open-source development.

One of the areas Dinamani worked on was the kernel's virtual file system (VFS) layer. Even if a file system such as ext4 can store dates beyond 2038, 32-bit systems cannot handle those dates unless the VFS layer above it supports them. The change to replace the structure holding file timestamps with a 64-bit version was first posted by Bergmann in 2014. In January 2016, Dinamani posted a request for comments on the approach, then laid out three possible solutions before narrowing them down to one.

Along the way, Linus Torvalds, the creator of Linux, objected to one of the related old interfaces. That interface had to be removed first, and the original change had to be redone. In the end, the team used Coccinelle, a tool for automated code transformation, to rewrite more than 80 files at once, and the change was merged in June 2018. Dinamani recalls rewriting at least five versions of the series from scratch.

As a result of this accumulated work, Linux 5.6, released in 2020, became the first release that could serve as a base for 32-bit systems designed to run beyond 2038. Bergmann noted several caveats, however, including the need to rebuild applications with a 64-bit time type.

Failures That Do Not Wait for 2038

Systems that calculate future dates are already running into the Year 2038 problem. In May 2006, AOL's web server software, AOLserver, reportedly behaved abnormally when a process that set a database timeout by adding one billion seconds (about 32 years) to the current time exceeded the limit.

A 2014 security report on multifunction printers by Japan's Information-technology Promotion Agency (IPA) also lists the Year 2038 problem as one of the possible vulnerabilities. The example it gives is a case where a digital certificate valid for 30 years, created in 2010 and installed on a multifunction printer, could not be validated because the device failed to compare dates correctly.

As of 2026, work at the level of operating systems and standards is well advanced. The latest edition of the POSIX standard, POSIX.1-2024, published in 2024, now requires the time_t type to be 64 bits. At the same time, it is clear where the problem remains. ext2, ext3, and older ext4 file systems created with small inodes cannot store dates beyond 2038. MySQL's older TIMESTAMP type has the same limit. Even on a 64-bit operating system, systems are affected if 32-bit timestamps remain on disk or inside data formats. The slowest to be addressed are embedded devices, such as factory sensors and building management systems, which stay in use for 20 to 30 years and rarely receive firmware updates.

The Year 2000, When Nothing Happened

The Year 2000 problem arose because systems that stored years using only the last two digits could mistake "00" for 1900. In Japan, Tokyo Electric Power Company (TEPCO) had about 6,000 employees at work from New Year's Eve into New Year's Day, and no failures occurred in the controls related to power supply. In its monitoring and recording systems, there was a display malfunction in the control rod position indicator at Unit 1 of the Fukushima Daini Nuclear Power Station, but it had no effect on plant operation.

The report of the International Y2K Cooperation Center (IYCC) concluded that the world entered the 21st century with only very minor problems. According to the same report, the private sector worldwide spent $200 billion on the problem. In Japan, the estimated remediation costs of the country's banks alone came to more than ¥316.4 billion, according to a September 1999 tally by Japan's Financial Services Agency (FSA).

Afterward, critics asked whether too much money had been spent. The IYCC report itself notes that the biggest problem national coordinators faced was hindsight from people who had not been directly involved in the effort. When a crisis is averted and the preparation itself is then seen as unnecessary, the phenomenon is called the "preparedness paradox." The same report cites as an achievement that many organizations used the occasion to take stock of their IT assets and to consolidate or retire redundant systems.

What Remains Lies Outside the OS

In Japan, this research did not find any comprehensive government survey or guidelines focused specifically on the Year 2038 problem. Unlike during Y2K, there is no system in which the national government leads the effort and collects progress reports from each sector.

What has not been addressed lies outside the operating system. This includes old file formats, embedded devices that have been running for more than 20 years, databases still using the TIMESTAMP type, and calculations that handle future dates, such as contract periods, licenses, and certificate expiration dates. The deadline is January 19, 2038, but in processes that handle future dates, failures will appear before then.

References

📩 Delivered every Friday

Move your business forward
with AI and technology.

Video production, practical AI, and the latest business trends.
Get insights from the field every Friday.

Unsubscribe at any time | Visit the newsletter signup page