PRS has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to convert the time from eg:'Fri Jun 16 18:04:03 2012' to '06 16 18:04:03 2012' format. Basically i dont want the day, i want the date time year i.e,.everything in numerics only.'Fri Jun 16 18:04:03' is the output of localtime im using in my script.Suggest any command or anything
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Conversion of Time
by daxim (Curate) on Jun 20, 2012 at 14:36 UTC | |
|
Re: Conversion of Time
by stevieb (Canon) on Jun 20, 2012 at 14:21 UTC | |
by frozenwithjoy (Priest) on Jun 20, 2012 at 14:31 UTC | |
|
Re: Conversion of Time
by Ratazong (Monsignor) on Jun 20, 2012 at 14:35 UTC | |
|
Re: Conversion of Time
by frozenwithjoy (Priest) on Jun 20, 2012 at 14:41 UTC | |
by taint (Chaplain) on Jun 20, 2012 at 16:18 UTC | |
|
Re: Conversion of Time
by Anonymous Monk on Jun 20, 2012 at 14:28 UTC |