| 
     
       |  |  |  | 
            
              | 
             
               | 
               
                 |  | UGU: Unix Guru Universe - Unix Tip #4493- June 30, 2025
 -  Home : Help
 : Today's Tip Unix Tip #4493- June 30, 2025
 
 
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
$mon months $dom days $hrs
 hours $min minutes $sec seconds left till U1e9
 ($target_string)
};
 print $message;
 
 
 
 This tip generously supported by: scooper@absolutemadness.com
 
 NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
 
 LAST 5 TIPS
 4492
 - KILL IDLE USERS
 4491
 - FINDING CONTROL CHARACTERS
 4490
 - VI AND NOT DISK SPACE
 4489
 - CHANGE TO LAST DIRECTORY
 4488
 - COUNTING BLANK LINES
 I want to 
 SUBSCRIBE
 and get a UGU Tip everyday.
 I want to 
 UNSUBSCRIBE
 and NOT get a UGU Tip everyday.
 If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
 |  |  
                 |  |  
                 |   Copyright 1994-2024 Unix Guru Universe 
 |  |  |  |  |