Year 2038 Problem

Source: Internet
Author: User

Another date problem, which results from computing dates into the year 2038 and beyond in 32-bit operating systems. UNIX and other C applications represent time as the number of seconds from January 1, 1970. the 32-bit variable (time_t) that stores this number overflows in the year 2038 and becomes January 1, 1970 again. however, even today, any date calculations forecasted beyond that time will be erroneous. switching to 64-bit computing solves the problem. see {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/year-2000-problem "target =" _ top "> Y2K problem.

Read more: http://www.answers.com/topic/year-2038-problem#ixzz198ij9KMB

 

 

TheYear 2038 Problem(Also knownUNIX Millennium Bug,Y2k38OrY2.038kBy analogy to {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/year-2000-problem "target =" _ top "> Y2K problem) may cause some {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/computer-software "target =" _ top "> computer software to fail before, in the year 2038 or after. The problem affects all software and systems that both store {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/time-computing "target =" _ top "> system time as {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/integer "target =" _ top "> signed 32-bit integer, and interpret this number as the number of seconds since 00:00:00 {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/coordinated-universal-time "target =" _ top "> UTC on Thursday, 1 January 1970.[1] The furthest time that can be represented this way is 03:14:07 {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/coordinated-universal-time "target =" _ top "> UTC on Tuesday, 19 January 2038.[2] 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 will likely 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 in 2018.

Because most {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/32-bit "target =" _ top "> 32-bit {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/unix-like "target =" _ top "> Unix-like systems store and manipulate time in this format, it is usually called {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/unix-time "target =" _ top "> UNIX time, and so the year 2038 problem is often referred to as the Unix Millennium Bug. however, any other non-Unix {
Assignparam ('navinfo', 'Method | 4' + getlinktextforcookie (this ));
} "Href =" http://www.answers.com/topic/operating-system "target =" _ top "> operating systems and software that store and manipulate time this way will be just as vulnerable.

Read more: http://www.answers.com/topic/year-2038-problem#ixzz198j0oK00

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.