When a computer needs to know what time it is, it usually does not ask for a date. It asks for a number: the count of seconds since midnight UTC on 1 January 1970. That moment is called the epoch, and the count is called Unix time. It is unglamorous, it is everywhere, and it has a cliff edge.
Why 1970
The choice of 1970 was arbitrary but convenient. The Unix operating system was being written at Bell Labs in the late 1960s, and its authors needed a fixed origin for a signed integer that could represent past and future dates. 1 January 1970 was recent enough to keep numbers small, early enough to cover the system's own history, and easy to compute. Earlier systems had used other epochs, including 1 January 1900, and some still do.
The 2038 problem
A 32-bit signed integer can hold values up to 2,147,483,647. Counted in seconds from 1970, that represents 03:14:07 UTC on 19 January 2038. One second later, at 03:14:08 UTC, the counter overflows and rolls over to the largest negative number and systems that use it will believe the date has jumped backwards by about 136 years. People who work with embedded systems call it the Y2K38 problem, and it is in some ways worse than Y2K, because the affected devices are often small, old, unpatched and impossible to reach.
Most modern systems have already moved to 64-bit counters, which will run for roughly 292 billion years. The difficulty is the long tail: industrial controllers, medical devices, routers, vehicles, building systems and firmware in equipment nobody has opened since installation. A device that stores time in a 32-bit field will fail on a date, whether or not anyone is watching, and many of those devices have no update path at all.
The Y2K rehearsal
There is a lesson in the earlier near-miss. In the late 1990s the world spent years and enormous sums preparing for the year 2000, when two-digit year fields would roll from 99 to 00. The transition happened with remarkably few failures, largely because the work was done in advance and the risk was taken seriously. The 2038 problem is harder to see, because it is spread across devices rather than concentrated in mainframes, and it is much less evenly resourced.
What the epoch itself shows is that a timestamp is a convention with an edge. The number is not a measurement of anything physical; it is an agreement about an origin and a unit, encoded in a finite field. Every such field has a maximum, and every maximum will eventually be reached. The only question is whether the software that reads it was designed by someone who thought about that.