in reply to [OT] Number of seconds from epoch
Why use an external utility when there is Time::Local or localtime to convert to and from epoch times?
Update: Or, if you start out with a formatted string like the above, Time::Piece::strptime or DateTime::Format::Strptime, to get a real time object back.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [OT] Number of seconds from epoch
by fmerges (Chaplain) on Feb 13, 2007 at 14:13 UTC |