Thread: 2038.
View Single Post
  #1   (View Single Post)  
Old 27th March 2009
diw's Avatar
diw diw is offline
Port Guard
 
Join Date: Jul 2008
Posts: 45
Talking 2038.

Hiya.

Remember Y2K?
Apparently POSIX has something better in store.

It's probably not news to a programmer but I found it interesting.

http://en.wikipedia.org/wiki/Year_2038_problem
http://www.2038bug.com/

Quote:
Originally Posted by http://www.2038bug.com/
Modern computers use a standard 4 byte integer for this second count. This is 31 bits, storing a maximum value of 2³¹. The remaining bit is the sign. This means that when the second count reaches 2147483647, it will wrap to -2147483648.
Look there's even a counter (well, more of simulation):


I particularly like the FAQ page:
http://www.2038bug.com/faq.html

Time to buy more tinfoil.

Best wishes.

Last edited by diw; 27th March 2009 at 03:10 PM. Reason: Fixed superscript - 2³¹.
Reply With Quote