Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $str = shift;
    my($day, $mon, $year) = split /(\D+)/, $str;
    printf "%02d-%02d-%s\n", $months{$mon}, $day, "20$year";