in reply to
Re: Converting a Date/Time
in thread
Converting a Date/Time
Thanks for the help. That is exactly what I needed. I was wondering how would I convert the seconds back to the same date/time format?
Comment on
Re^2: Converting a Date/Time
Replies are listed 'Best First'.
Re^3: Converting a Date/Time
by
pc88mxer
(Vicar)
on Jun 10, 2008 at 18:30 UTC
Date::Parse
provides
str2time
to convert a time string into a "Unix time" (time in seconds) and
strftime
from the
POSIX
module is often used to convert a "Unix time" back into a string.
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom