[Israel.pm] Date manipulations

Shmuel Fomberg shmuelfomberg at gmail.com
Sun Dec 30 04:27:28 PST 2012

Hi Shlomo.

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...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20121230/bffe0e76/attachment.htm 

More information about the Perl mailing list