[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: Yet another Coutdown



could any body explain why on Sept 8, 2001
I thought the time stamp was 10 digit since October 10, 2000





-----Original Message-----
From: Jaswinder Singh Kohli [mailto:jskohli@xxxxxxx]
Sent: Wednesday, August 08, 2001 6:55 PM
To: linux-delhi; 2600 List
Subject: [linux-delhi] Yet another Coutdown


YET ANOTHER COUNTDOWN

The unix time() value will rollover
to 10 digits for the first time in
modern computer history starting
Saturday Sept 8th,2001. The
timestamp will be 10 digits long,
and not 9.

Here's a short Perl script to
compute the time left:

#!/usr/bin/perl -w
use strict;

my $now=time();
my $target='1000000000';
my
($sec,$min,$hrs,$dom,$mon,$year,$wday,$yday,$isdst)=localtime($target
- $now);
my $now_string=localtime(time());
my $target_string=localtime($target);
my $message=qq{today is $now_string\n$mon months $dom days $hrs
hours $min minutes $sec seconds left till U1e9
($target_string)\n};
print $message;



found on ugu list
--


Regards
Jaswinder Singh Kohli
jskohli@xxxxxxx
::::::::::::::::::::::::::::::::::::::::::::::::
The Uni(multi)verse is a figment of its own imagination.
In truth time is but an illusion of 3D frequency grid programs.




------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-delhi