I performed a similar process using 2 modules:
Date::Parse (to convert date strings to unix seconds)
POSIX (strftime function) and Perls standard localtime function to convert
back from unix seconds to a formatted date string
POSIX is a standard module so your system probably already has it.
J
Patricio Bruna V. wrote:
> i need to do some calc with dates, time betwen one date and other, are
> any modules that you recommend?
I think the DateTime family of modules is the direction things are heading.
http://datetime.perl.org
See also a neat (although a bit dated) high-level view at:
htt
> i need to do some calc with dates, time betwen one date and other, are
> any modules that you recommend?
>
> thx
>
There are several available from CPAN. Date::Calc, Date::Manip, DateTime
to name just a few notables. You can also usually do calculations in
seconds and use Time::Local and 'loc