in reply to Re: Renaming html email dumps according to sender and date
in thread Renaming html email dumps according to sender and date
#! usr/bin/perl -w use strict; $\ = "\n"; use Date::Manip; &Date_Init("TZ=GMT","DateFormat=UK"); # or whatever while (<DATA>) { print UnixDate($_,"%y%m%d"); } __DATA__ Mon, 9 Aug 2004 10:28 AM 9th August 2004 10:28 10:28 9/8/2004 Aug 9 2004 10:28 10:28 09 August 2004
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
My solution
by Sigmund (Pilgrim) on Aug 21, 2004 at 16:08 UTC | |
by Mr_Jon (Monk) on Aug 23, 2004 at 17:22 UTC |