Jump to content


Photo

Year 2038 problem


  • Please log in to reply
2 replies to this topic

#1 noodle

    Mister Danger

  • Administrators
  • PipPipPipPip
  • 37,406 posts
  • Gender:Male
  • Country:Blank

Posted 03 February 2016 - 09:12 AM

The Year 2038 problem is an issue for computing and data storage situations in which time values are stored or calculated as a signed 32-bit integer, and this number is interpreted as the number of seconds since 00:00:00 UTC on 1 January 1970 ("the epoch"). Such implementations cannot encode times after 03:14:07 UTC on 19 January 2038, a problem similar to but not entirely analogous to the "Y2K problem" (also known as the "Millennium Bug"), in which 2-digit values representing the number of years since 1900 could not encode the year 2000 or later. Most 32-bit Unix-like systems store and manipulate time in this "Unix time" format, so the year 2038 problem is sometimes referred to as the "Unix Millennium Bug" by association.

Technical cause

The latest time that can be represented in Unix's signed 32-bit integer time format is 03:14:07 UTC on Tuesday, 19 January 2038 (2,147,483,647 seconds after 1 January 1970). Times beyond that will "wrap around" and be stored internally as a negative number, which these systems will interpret as having occurred on 13 December 1901 rather than 19 January 2038. This is caused by integer overflow. The counter "runs out" of usable bits, "increments" the sign bit instead, and reports a maximally negative number (continuing to count up, toward zero). Resulting erroneous calculations on such systems are likely to cause problems for users and other relying parties.

Programs that work with future dates will begin to run into problems sooner; for example a program that works with dates 20 years in the future will have to be fixed no later than 2018.

 

Read more aabout the "Year 2038 problem" at

https://en.wikipedia.org/wiki/Year_2038_problem

Please remember to thank for topics you view. A nice Thank You is always welcome
Jy2vV9.png


#2 SouthernComfort

    Free Spirit

  • Administrator
  • PipPipPipPip
  • 21,561 posts
  • Gender:Male
  • Country:United States

Posted 04 February 2016 - 10:52 AM

Quick as unix development is they will make a patch. :lol:



#3 noodle

    Mister Danger

  • Administrators
  • PipPipPipPip
  • 37,406 posts
  • Gender:Male
  • Country:Blank

Posted 04 February 2016 - 11:59 AM

Quick as unix development is they will make a patch. :lol:

As I understand it, it's not a problem of a patch, it's the SYSTEM, but I'm sure that by 2038, 32 bit data will a as obsolete as the 80's 8 bits is by now.


Please remember to thank for topics you view. A nice Thank You is always welcome
Jy2vV9.png