Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
i see, thats interesting
On Thu, 8 Jan 2004, Russell Horn wrote:
> > ><LilLulu> 3) 1073543366 seconds since the Unix Epoch
> > (1/1/1970 00:00:00)
> > >
> > >She wants to know what is so important about that big..
> > number.
>
> One important thing about it is we have 34 years and 11 days before it
> rolls over and we all relive our pasts. That's 2147483647 seconds since
> the Unix Epoch.
>
> Most POSIX compliant computers store the time as a 32 bit integer
> counting upwards from the Unix Epoch. Because we quite often want to do
> date and time comparisons prior to 1970, this is often a signed integer
> - i.e. dates prior to 1970 have a negative timestamp. As a result, until
> we all go 64 bit, most of our computers only handle a date range from
> 1901 to 2038 without doing fancy programming.
>
> Fortunately I won't quite be at retirement age when that one comes round
> to provide the same much needed income boost to IT workers that y2k did
> :)
>
> You can even see if your computer is affected with this bit of perl.
>
> Russell.
>
>
> #!/usr/bin/perl
> use POSIX;
> $ENV{'TZ'} = "GMT";
>
> for ($clock = 2147483641; $clock < 2147483651; $clock++)
> {
> print ctime($clock);
> }
>
>
>
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
>
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members