Year 2038 problem
From Wikipedia, the free encyclopedia
Categories: Digital Revolution | Operating system technology | Software engineering disasters | System software | Problems
|
The year 2038 problem (also known as "Unix Millennium bug", "Y2K38," "Y2K+38," or "Y2.038K" by analogy to the Y2K problem) may cause some computer software to fail before or in the year 2038. The problem affects Unix-like operating systems, which represent system time as the number of seconds (ignoring leap seconds) since 00:00:00 January 1, 1970.[1] This representation also affects software written for most other operating systems because of the broad deployment of C. On most 32-bit systems, the
Known problemsIn May 2006, reports surfaced of an early Y2038 problem in the AOLserver software. The software would specify that a database request should "never" time out by specifying a timeout date one billion seconds in the future. One billion seconds (just over 31 years 251 days and 12 hours) after 21:27:28 on 12 May 2006 is beyond the 2038 cutoff date, so after this date, the timeout calculation overflowed and calculated a timeout date that was actually in the past, causing the software to crash.[2][3] SolutionsThere is no easy fix for this problem for existing CPU/OS combinations. Changing the definition of Most operating systems for 64-bit architectures already use 64-bit integers in their A variety of alternative proposals have been made, some of which are in use, including storing either milliseconds or microseconds since an epoch (typically either January 1, 1970 or January 1, 2000) in a signed-64 bit integer, providing a minimum of 300,000 years range.[4][5] Other proposals for new time representations provide different precisions, ranges, and sizes (almost always wider than 32 bits), as well as solving other related problems, such as the handling of leap seconds. See alsoReferences
External links
es:Problema del año 2038 fr:Bogue de l'an 2038 ko:2038년 문제 is:2038-vandinn it:Bug dell'anno 2038 he:באג 2038 hu:2038-probléma ja:2038年問題 no:År 2038-problemet pl:Problem roku 2038 pt:Problema do ano 2038 ru:Проблема 2038 года fi:Y2K38 sv:År 2038-problemet tr:2038 yılı problemi uk:Проблема 2038 року |



