5 points · by PaulJulius · 7y ago · 3 comments
Various dimensions for comparison include: - handling of timezones - handling of durations - handling of other date/time arithmetic - formatting and parsing - explicitness for handling time with timezones vs. UTC
Apart from the modules included in the DateTimeDistribution, there are many others as returned by https://metacpan.org/search?q=DateTime
My favorite use DateTime::Format::Baby;
my $Baby = DateTime::Format::Baby->new('en'); my $dt = $Baby->parse_datetime('The big hand is on the twelve and the little hand is on the six.');