Year 2038 problem |
In . Times beyond this moment will wrap around and be represented internally as a negative number, and cause programs to fail, since they will see these times not as being in 2038 but rather in 1970 or 1901, depending on the implementation. Erroneous calculations and decisions may therefore result.
There is no easy fix for this problem for existing central processing unit/Operating system combinations. Changing the definition of time_t to use a 64-bit type would break binary compatibility for software, data storage, and generally anything dealing with the binary representation of time. Changing time_t to an unsigned 32-bit integer would affect many programs that deal with time differences.
Most operating systems for 64-bit architectures already use 64-bit integers in their time_t. The move to these architectures is already underway and can be reasonably expected to be complete before 2038. Using a 64-bit value will delay the problem date about 300 billion years. (To be more precise, it will happen on Sunday, 4 December 11th_millennium_and_beyond [http://www.merlyn.demon.co.uk/critdate.htm#2038]). The year 292,277,026,596 problem is not, however, widely regarded as a pressing issue.
= See also =
= External links =
|
|