Help for this page

Select Code to Download


  1. or download this
        $str_date =~ /^\w*\s*\w*\s*(?<month>\w*)\s*(?<day>\d*).*(?<year>\d
    +{4})$/;
    
  2. or download this
        my $date = sprintf("%4d%02d%02d", $+{year}, $months{$+{month}}, $+
    +{day});