Unixtime turning 1111111111!
17-03-2005, 19:15
|
#1
|
|
Inactive
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
|
Unixtime turning 1111111111!
Quote:
|
"Break out your party hats. According to http://www.onlineconversion.com/unix_time.htm , Unix time is supposed reach 1111111111 on Fri, 18 Mar 2005 01:58:31 GMT That's only 1036372537 seconds from 2^31 (ie Tue, 19 Jan 2038 03:14:08 GMT)!!"
|
http://slashdot.org/articles/05/03/1....shtml?tid=130
You can watch this happen by making a simple PHP page with the following contents:
PHP Code:
<?php echo time(); ?>
|
|
|
17-03-2005, 19:22
|
#2
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,374
|
Re: Unixtime turning 1111111111!
__________________
Baby, I was born this way.
|
|
|
17-03-2005, 19:41
|
#3
|
|
Inactive
Join Date: Feb 2004
Location: There's no place like 127.0.0.1
Services: Depends on the person and the price they're offering
Posts: 12,384
|
Re: Unixtime turning 1111111111!
Ok, I'm not going to pretend that I understand any of this.....
|
|
|
17-03-2005, 19:44
|
#4
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,374
|
Re: Unixtime turning 1111111111!
Quote:
|
Originally Posted by Raistlin
Ok, I'm not going to pretend that I understand any of this.....
|
It's really quite simple - unix stores the time as the number of seconds since 00:00 on Jan 1st 1970. This is now approaching 1,111,111,111 seconds.
__________________
Baby, I was born this way.
|
|
|
17-03-2005, 19:46
|
#5
|
|
Inactive
Join Date: Feb 2004
Location: There's no place like 127.0.0.1
Services: Depends on the person and the price they're offering
Posts: 12,384
|
Re: Unixtime turning 1111111111!
O, IC..... Cool
|
|
|
17-03-2005, 19:58
|
#6
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: Unixtime turning 1111111111!
geeky but cool
|
|
|
17-03-2005, 22:49
|
#7
|
|
cf.mega poster
Join Date: Dec 2003
Age: 51
Posts: 7,101
|
Re: Unixtime turning 1111111111!
Heh, neat
Talking of Unix time, Tuesday, January 19th 2038 is gonna be the end of the world.
Quote:
|
Originally Posted by http://www.deepsky.com/~merovech/2038.html
What is the year 2038 bug?
In the first month of the year 2038 C.E. many computers will encounter a date-related bug in their operating systems and/or in the applications they run. This can result in incorrect and wildly inaccurate dates being reported by the operating system and/or applications. The effect of this bug is hard to predict, because many applications are not prepared for the resulting "skip" in reported time - anywhere from 1901 to a "broken record" repeat of the reported time at the second the bug occurs. Also, leap seconds may make some small adjustment to the actual time the bug expresses itself. I expect this bug to cause serious problems on many platforms, especially Unix and Unix-like platforms, because these systems will "run out of time". Starting at GMT 03:14:07, Tuesday, January 19, 2038, I fully expect to see lots of systems around the world breaking magnificently: satellites falling out of orbit, massive power outages (like the 2003 North American blackout), hospital life support system failures, phone system interruptions (including 911 emergency services), banking errors, etc. One second after this critical second, many of these systems will have wildly inaccurate date settings, producing all kinds of unpredictable consequences. In short, many of the dire predictions for the year 2000 are much more likely to actually occur in the year 2038! Consider the year 2000 just a dry run. In case you think we can sit on this issue for another 30 years before addressing it, consider that reports of temporal echoes of the 2038 problem are already starting to appear in future date calculations for mortgages and vital statistics!
|
|
|
|
17-03-2005, 22:56
|
#8
|
|
Inactive
Join Date: Jun 2003
Age: 45
Posts: 14,750
|
Re: Unixtime turning 1111111111!
Oh, and how linux users laughed at the windows Y2K bug.
if time is stored as a 32bit variable, can't they re-define the the time as a long (64-bit data type) and re-compile? or wrap it in a a custom 128-bit integer data type?
|
|
|
17-03-2005, 22:57
|
#9
|
|
Inactive
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
|
Re: Unixtime turning 1111111111!
It's important to note that 64 Bit systems are not affected by this, only 32 Bit and under and by 203x we'll all be using 512 Bit systems anyway.
|
|
|
18-03-2005, 09:07
|
#10
|
|
cf.mega poster
Join Date: Dec 2003
Age: 51
Posts: 7,101
|
Re: Unixtime turning 1111111111!
Yeah, that's true but I like seeing people's faces when they realise that we'll be going through another Y2K scare
|
|
|
18-03-2005, 10:46
|
#11
|
|
Inactive
Join Date: Oct 2003
Location: Bracknell
Age: 56
Services: NTL Telephone
3M Broadband - CM
Sky TV
Posts: 1,246
|
Re: Unixtime turning 1111111111!
Quote:
|
Originally Posted by Gareth
Yeah, that's true but I like seeing people's faces when they realise that we'll be going through another Y2K scare 
|
The best bit is that windows is going to be the most affected OS (again)...
Most verisions of Unix already Support 64 bit architectures - Solaris, HP(s)UX, TRU64, AIX etc.
Most versions of linux already have the facility as well....
The biggest problem is the chips - no good trying to run a 64 bit OS on a 32 bit chip....
AMD - have a good, working 64bit chip.
SUN - have a good, working 64 bit chip.
INTEL - have Itanium
so windows on Intel is likely to be the worst affected....
That said, the chances of any of us still maintaining mission critical systems on 32 bit architecture in 33 years is pretty slim.
Most likely we will be running 1024+ bit architectures, and this issue will not even be mentioned. (and personally I expect to be retired and to not give a damn  )
|
|
|
18-03-2005, 12:47
|
#12
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,374
|
Re: Unixtime turning 1111111111!
I will just be pleased if I'm still around to see if anyone cares - since I will not long have celebrated my 75th birthday at that point.
__________________
Baby, I was born this way.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 18:08.
|