[Israel.pm] Date manipulations
shmuelfomberg at gmail.com
Sun Dec 30 04:27:28 PST 2012
On Sun, Dec 30, 2012 at 4:09 PM, Yona Shlomo wrote:
> I have date items of the form yyyy-mm-dd and I'd like to be
> able to manipulate them in the following ways:
> What's a practical way to go about this?
Just adding my view:
DateTime is the gorilla of the time modules. it contains everything.
Handles time zones and day light savings perfectly. The only problem is
that it is comparatively slow.
Date::Calc on the other hand, may give an incorrect answer if you start
playing with day light savings and time zones. However it is fast. For
simple dates calculation it is totally OK.
So choose what is important to you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Perl