HQ NETWORKXbox One | Xbox | C64 15,263 HQ Network UsersHQ Network: 15,263 | Members OnlineGuests: 3449 |Guests OnlineMembers: 0

Xbox 360 Forums
Get involved in our Xbox 360 forum discussions..
Get Xbox Game Pass Ultimate
360-HQ.COM :: The Year 2038 UNIX BUG
The Year 2038 UNIX BUG
360-HQ.COM Forum Index -> PHP Programming Discussions
Post new topic Reply to topic    
 The Year 2038 UNIX BUG View previous topic :: View next topic  
 
 
 
 
forahobby
Administrator
Administrator




Joined: May 22, 2003
Posts: 23942
Location: NSW, Australia
XP: 3,060,024

Post Posted: Sun Mar 10, 2013 11:28 pm   
Post subject: The Year 2038 UNIX BUG
Reply with quote
 
Why 2038?

Our 32-bit root servers currently use the FreeBSD 4.7 operating system. As with all Unix and Unix-like operating systems, time and dates in FreeBSD are represented internally as the number of seconds since the UNIX Epoch, which was the 1st of January 1970 GMT.

32-bit systems can only store a maximum of 231 non-negative seconds (2,147,483,648 seconds or about 68 years). Which means that 32-bit UNIX systems won't be able to process time beyond 19 Jan 2038 at 3:14:07 AM GMT.

One of the common solutions will be to switch to 64-bit architecture systems that can store a maximium of 263 non-negative seconds (9,223,372,036,854,775,808 [9.2 Quintillion] seconds or about 292.27 Billion years), which is about 22 times the estimated age of our universe!

For the curious: A switch to 128-bit architecture systems would yield a maximum of 2127 non-negative seconds (170,141,183,460,469,231,731,687,303,715,884,105,728 [170 Undecillion] seconds), or about 18.4 Quintillion times as many as 64-bit systems.
* For informational purposes only

As of Sun Mar 10 23:25:27 GMT 2013 there are currently:

1,362,957,927 seconds since the UNIX epoch.
24 years, 10 months, and 8 days until 19 Jan 2038.


To give an indication if a Unix machine is 2038 Compliant, one can run this perl script to see if the time is incremented correctly.



#!/usr/local/bin/perl

use POSIX;
$ENV{'TZ'} = "GMT";

for ($clock = 2147483641; $clock < 2147483651; $clock++) {
print ctime($clock);
}

Year:


Please keep in mind that the above only represents most UNIX operating systems; others may have their own date problems.

You can use this interface to view any yearly calendar from 1-9999.

http://www.gsp.com/2038/

_________________________________________________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
kennethk
V.I.P. Lifetime




Joined: May 01, 2011
Posts: 1210

XP: 194,668

Post Posted: Mon Mar 11, 2013 2:42 am   
Post subject:
Reply with quote
 
Lolol I'll be 47 by then.


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator




Joined: May 22, 2003
Posts: 23942
Location: NSW, Australia
XP: 3,060,024

Post Posted: Mon Mar 11, 2013 6:16 am   
Post subject:
Reply with quote
 
kennethk wrote:
Lolol I'll be 47 by then.


yeh ill be 60 something.. well i hope.. lol

_________________________________________________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
X_Splinter
Moderator
Moderator




Joined: Jul 03, 2004
Posts: 2385
Location: Portugal
XP: 368,740

Post Posted: Mon Mar 11, 2013 11:16 am   
Post subject:
Reply with quote
 
forahobby wrote:
kennethk wrote:
Lolol I'll be 47 by then.


yeh ill be 60 something.. well i hope.. lol


With my lifestyle I will be death before that (hope not)

_________________________________________________________


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
tweaked
V.I.P. Lifetime




Joined: Jan 31, 2004
Posts: 1769
Location: NH, USA
XP: 171,140

Post Posted: Mon Mar 11, 2013 4:42 pm   
Post subject:
Reply with quote
 
I don't see why it matters. The big 2000 end of computers had no basis and so does this. Nothing bad happens even if the date flips. The 2000 thing had to do with BIOS dates yet they just start over. A BIOS update solves that with a new set of digits.

It should be less of a problem for an OS date system. They can simply code new date values, it all depends on when you start the date. So a year or 2 before the 'End-of-the-Date' apply the date patch.

We don't have to worry about the computers gaining conciseness until true quantum computing is realized which sounds like may not happen in Forahobbies and my life time... sorry kids, your future looks bleak!

_________________________________________________________
10% VIP Discount (Coupon Code: HQ-VIP-001 ) - Signup for web hosting at www.TweakedHosting.com/clients/aff.php?aff=004 and earn the HQ network of sites recurring income!


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
X_Splinter
Moderator
Moderator




Joined: Jul 03, 2004
Posts: 2385
Location: Portugal
XP: 368,740

Post Posted: Mon Mar 11, 2013 4:57 pm   
Post subject:
Reply with quote
 
tweaked wrote:

We don't have to worry about the computers gaining conciseness until true quantum computing is realized which sounds like may not happen in Forahobbies and my life time... sorry kids, your future looks bleak!


Hey kids! Expect them...


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
tweaked
V.I.P. Lifetime




Joined: Jan 31, 2004
Posts: 1769
Location: NH, USA
XP: 171,140

Post Posted: Mon Mar 11, 2013 6:12 pm   
Post subject:
Reply with quote
 
X_Splinter wrote:
tweaked wrote:

We don't have to worry about the computers gaining conciseness until true quantum computing is realized which sounds like may not happen in Forahobbies and my life time... sorry kids, your future looks bleak!


Hey kids! Expect them...


hahaha lol

That would sure be scary. I think there's a better chance of robots killing humans off as opposed to zombies... but zombies would be more fun and more of a fair fight. The robots could just keep making themselves more powerful, we would have to be hiding in caves all the time to survive like the Terminator movies.

_________________________________________________________
10% VIP Discount (Coupon Code: HQ-VIP-001 ) - Signup for web hosting at www.TweakedHosting.com/clients/aff.php?aff=004 and earn the HQ network of sites recurring income!


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
 

Xbox Game Pass