Help for this page

Select Code to Download


  1. or download this
    use Date::Parse;
    
    ...
    my ($ss,$mm,$hh,$day,$month,$year,$zone) = strptime("...string...");
    $month++;
    $year += 1900;
    
  2. or download this
     
    use Date::Format;
    my $format = "%a %b %d %l:%M %p ;%Z"; 
    print time2str($format, time);