Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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.


Remember Y2K?
Apparently POSIX has something better in store.

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


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:

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

2038, unix millenium bug, y2k38

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:10 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick