Help for this page

Select Code to Download


  1. or download this
    
    my ($sec,$min,$hour,$mday,$mon,$year,
         $wday,$yday,$isdst)=localtime(time);
    
  2. or download this
    
    my $week_of_seconds = 60 * 60 * 24 * 7;
    ...
    my ($sec,$min,$hour,$mday,$mon,$year,
         $wday,$yday,$isdst)=localtime($week_ago);