The year 2038 problem may cause some computer software to fail at some point near the year 2038. The problem affects all software and systems that both store system time as a signed 32-bit integer, and interpret this number as the number of seconds since 00:00:00 UTC on Thursday, 1 January 1970. The furthest time that can be represented this way is 03:14:07 UTC on Tuesday, 19 January 2038. Times beyond this moment will "wrap around" and be stored internally as a negative number, which these systems will interpret as a date in 1901 rather than 2038. This is caused by integer overflow. The counter "runs out" of usable digits, "increments" the sign bit instead, and reports a maximally negative number (continuing to count up, toward zero). This is likely to cause problems for users of these systems due to erroneous calculations.
Further, while most programs will only be affected in or very close to 2038, programs that work with future dates will begin to run into problems much sooner. For example, a program that works with dates 20 years in the future will have to be fixed no later than 2018.
Other articles related to "year 2038 problem, problems, year, 2038, problem, years":
... There is no universal solution for the Year 2038 problem ... to the definition of the time_t data type would result in code compatibility problems in any application in which date and time representations are dependent on the nature of the signed 32-bit time_t integer ... integer, which would extend the range to the year 2106, would adversely affect programs that store, retrieve, or manipulate dates prior to 1970, as such dates are represented ...
... On 19 January 2038 on 32 bit Unix systems, the current time will roll over from a zero followed by 31 ones (0x7FFFFFFF) to a one followed by 31 zeros (0x80000000), which will reset time to the year 1901 ... However, such a kludge merely postpones the problem to 7 February 2106, and could introduce bugs in software that computes time differences ... OS itself and 64-bit applications will correctly handle dates for some 292 billion years ...
... During and after 2038, this number will exceed 231 − 1, the largest number representable by a signed 32-bit integer, causing the Year 2038 problem (also known as the Unix Millennium bug ... To solve this problem, many systems and languages have switched to a 64-bit timestamp, or supplied alternatives which are 64-bit ...
... According to Futurama, petroleum reserves run dry during this year ... The 1989 Japanese movie Gunhed takes place in this year ...
Famous quotes containing the words problem and/or year:
“The problem is simply this: no one can feel like CEO of his or her life in the presence of the people who toilet trained her and spanked him when he was naughty. We may have become Masters of the Universe, accustomed to giving life and taking it away, casually ordering people into battle or out of their jobs . . . and yet we may still dirty our diapers at the sound of our mommys whimper or our daddys growl.”
—Frank Pittman (20th century)
“He hardly drinks a pint of wine,
And that, I doubt, is no good sign.
His stomach too begins to fail:
Last year we thought him strong and hale,
But now, hes quite another thing;
I wish he may hold out till spring.
Then hug themselves, and reason thus;
It is not yet so bad with us.”
—Jonathan Swift (16671745)