DateTime reviews

RSS | Module Info

DateTime (1.06)

Extremely useful for programming commercial analytics

DateTime (0.65)

Amidst all the glowing reviews may I add a reminder that, as with everything, there's a catch: runtime performance. On my PC, the speed of creating a DateTime object is just around 6000/sec. If you use DateTime intensively, it can quickly add up.

Imagine serving a web page that fetches 50 rows from database, where for convenience you convert each date column to a DateTime object, and you have 120 requests/sec coming in... That's already 6000 objects (an extra second!).

Which is unfortunate because DateTime is so wonderful, convenient, correct, complete and all that. So one approach you can use might be to delay converting to DateTime object until necessary.

DateTime (0.60) ****

I like the way this is going, but right now it's way too spread out. It needs a cookbook or something. Like the XML modules, this one seems to require reading 10,000 pods to try to find everything you need.

While some things seem to fit together well, others don't. The ::Format tree seems to be somewhat random in invocation and I find I need 5 if blocks and 3 eval {} sections to do what some of the more venerable date and time modules can do in one line.

Still, this is clearly the future of datetimes in perl.

DateTime (0.53) *****

The cleanest, sanest module for manipulating dates within Perl I've seen so far - a DateTime object has become my first choice for most date operations within Perl.

It's slightly slow (on one of my systems, perl -MDateTime took about 0.4s, compared to 0.1s for Date::Calc), but in most cases, I think it's worth the impact for easy, clean code. So, DateTime is my first choice, Date::Calc is my choice when speed is of the essence, and for working with date ranges, I'll occasionally turn to Date::Range.

DateTime (0.50) *****

*THE* definitive date/time handling module in Perl (and even maybe in all major programming languages). Can't believe I went through all the pain of reinventing the wheel, and using various date/time modules of various quality & interface. If only I had known DateTime earlier.

Look no more, DateTime it is.

DateTime (0.45) *****

DateTime is the king of date+time management modules on CPAN. It's easy to use, comprehensive, with very good documentation, lots of auxiliary modules and extensions. Don't leave home without out.

You should use it instead of doing your own date calculations by hand.

DateTime (0.4305) *****

You want sane datetime handing in Perl. You want this module. Does the job. Few odd corners in the API - but leaps and bounds ahead of everything else that I've played with on CPAN for accurate date/time handling.

DateTime (0.37) *****

Simply the best date and time manipulation module in my opinion.
The interface is really clean and consistent which is a refreshing change compared to some of the alternatives.
DateTime cover almost all needs for date manip and does so with a modular approach which is more to my liking than the monolithic approach taken by most of the alternatives. Timezones work perfectly and without too much hassle (I had some nasty surprises in other modules about this), date calcul is easy, there are a lot of parsing and formatting DateTime::Format::* modules (which arguably depends on too much other modules but at least you have plenty of choices).

It's not perfect yet but it's constantly improving and has already reached it's goal of being the prime time module in Perl.

DateTime (0.34) ***

Powerful date and time OO framework that provides the means to add and subtract dates and times, receive ranges of dates and times, and more - up to nano-second resolution.

Does not seem to understand the ISO-8601 as input, though that does appears to be the standard output -- to a degree:

The 'now' method defaults to UTC, which is confusing: I would prefer it default to the real-world time (including DST), since that would probably cover the majority of use cases.

Timezone parsing is not well documented, so intuative actions fail:
`my $t = DateTime->now(); warn $t - 1;` results in "Can't call method "time_zone" without a package or object reference." The "datetime" and "iso8601" methods do not output a timezone identifier at all, neither a 'Z' nor an offest.

But then the module is (after what seems like many years) still in development, so I am sure this will all be ironed out soon.

DateTime (0.30) *****

Awesome! solved all of my problems with date and time.

DateTime (0.34) ***

This module does more than you'll ever need for Date-time calculations and handling. I'd call it the de facto standard, were it not for the load time. Adding a "use DateTime" statement to a script adds a quarter-second to the start-up time on my machine (admittedly it's an old machine, but it's hardly a klunker). So I'm hesitant to use it for simple date-time manipulations.

I'm also curious why there's no constructor to take the stringified date/time and reinstantiate it as a DateTime object. (Or if there is, it's not documented.) If I have to use an additional module or write my own parser, then it's less useful. Date::Calc does what I need and loads significantly faster.

DateTime (0.28) *****

This is a great module. It gives you an object representing a date/time from which it is easy to extract the constituent parts (day, month, hour ...), or format the whole thing into a human readable string (built in strftime). It also supports common date/time comparisons and manipulations (truncate to 1st of month, add an interval ...).

My one complaint would be that the base class does not directly understand ISO8601 dates. This functionality is relegated to another distribution with a number of dependencies.

DateTime (0.18) *****

Not just the holy grail of a unified Perl date framework, not just " best Perl date module so far" as one reviewer said, I would venture that this is *only* DateTime library that I've ever used in *any* language that gets timezones right. And DateTime doesn't just get timezones right, but it gets everything right, and provides a real exploration of humans wacky concepts of time (recurrences, open ended, infinite, floating) without sacraficing clarity.

DateTime (0.17) ****

The best Perl date module so far.

DateTime (0.1601) *****

Finaly, a unified Date and Time handling framework!

DateTime (0.1601) *****

Great Module!! Still in development