r0adawg has asked for the wisdom of the Perl Monks concerning the following question:
I'm seeking some instruction as I am learning the ins and outs of perl. I have a device that records information in microseconds using a epoch like format. I would like to be able to display the date time stamp like this : Thu Jun 10 18:15:34.155029 2010.
my record is formatted as : 1276218934.155029
my current approach is : printf OUT1 scalar(localtime($ep_time));
I know that there must be an easy way to convert this to a readable format, similar to what I referenced above.
thank you for your help and guidance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: displaying microseconds from epoch like format
by GrandFather (Saint) on Oct 09, 2012 at 00:17 UTC | |
by r0adawg (Beadle) on Oct 09, 2012 at 18:01 UTC |