Skip to content
Minute Campus.

Everyday computer scienceLesson 121 min

Why do some computers fear the year 2038?

Many systems store time as one number: the seconds since the start of 1970. Older systems keep it in 32 binary digits, which can hold about 2.1 billion. On 19 January 2038 the counter wraps round to a negative number and the date reads December 1901. A 64-bit counter lasts about 290 billion years, and most modern systems use it. The risk is old devices that are never updated.

Remember

Every number in a computer has a size, so check it.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1Time TypesGNU C Library manual · read 4 Oct 2026time_t counts seconds since the POSIX Epoch; 64 bits wide on most platforms, 32 on a few.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

On the nineteenth of January, twenty thirty-eight, at seven seconds past three fourteen in the morning, some computers will run out of time. Many systems store time as one number: the seconds that have passed since the start of nineteen seventy. Today it is about one point eight billion. Older systems keep it in a box of thirty-two binary digits, and the biggest number that box can hold is about two point one billion. One second later, the counter wraps round to a negative number, and the date reads December nineteen oh one. It is the year two thousand problem again, in binary. The fix is a bigger box. With sixty-four digits, the counter lasts about two hundred and ninety billion years, and most modern systems already use it. The risk is old devices that are never updated. The lesson: every number in a computer has a size, and someone chose it.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.