|Don't ask to ask, just ask|
converting Time::HiResby Lhamo Latso (Scribe)
|on Sep 13, 2004 at 20:16 UTC||Need Help??|
Lhamo Latso has asked for the wisdom of the Perl Monks concerning the following question:
Hello Time Travelers,
I am having trouble converting gettimeofday values back to a formatted date. I am using the Time::HiRes module as a test for some hi-res Oracle tim values. The tim values are in microseconds. To no surprise, my results using Time::HiRec are similarly way off, just like the Oracle tim values.
t0: Mon Apr 15 04:20:16 1974 trc msec: Wed Dec 31 17:59:59 1969 trc sec: Sat Nov 15 11:08:37 2003
The date of the "trc msec:" is 2004-09-07 10:15:04, not Nov-2003.
Thanks for any help and direction. This is Perl v5.6.1 on RedHat Linux.