Help for this page

Select Code to Download


  1. or download this
    my @months = (qw(jan feb mar apr may jun jul aug sep oct nov dec));
    
    ...
    my $month_re = join "|", @months;
    
    $month =~ s/($month_re)\w*/$month_num{$1} || "$1"/ei;