Help for this page

Select Code to Download


  1. or download this
    $ perl -MDate::Parse -E'say scalar gmtime str2time("08/Oct/2007:04:54:
    +20 -0400");'
    Mon Oct  8 08:54:20 2007
    
  2. or download this
    %months = ( Jan => '01', Feb => '02', ... );
    s!(..)/(...)/(....):(..):(..):(..)!$3.$months{$2}.$1.$4.$5.$6!e;