in reply to How to convert date like: 19 Aug 12:00 PM EDT to a perl structure
Though you'd probably want to set a $current_year variable with a call to your systemprint "$months{$2}/$1/2015" if $ugly_date =~ /([0-3]?[[0-9]) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) .*/ # Returns 8/19/2015>
|
|---|