RSS | Module Info | Add a review of DateTime

6 out of 6 found this review helpful:

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.

Chaddaï Fouché - 2007-04-19 15:31:06
Was this review helpful to you?  Yes No

3 out of 4 found this review helpful:

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.

Lee Goddard - 2006-08-01 04:49:11
Was this review helpful to you?  Yes No

2 out of 6 found this review helpful:

DateTime (0.30) *****

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

Howard Lo - 2006-04-15 15:03:03
Was this review helpful to you?  Yes No

6 out of 7 found this review helpful:

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.

Robert Rothenberg - 2006-03-01 06:53:40
Was this review helpful to you?  Yes No

2 out of 3 found this review helpful:

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.

Grant McLean - 2005-04-21 18:45:07
Was this review helpful to you?  Yes No

3 out of 3 found this review helpful:

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.

kellan - 2003-11-11 09:22:44
Was this review helpful to you?  Yes No

0 out of 1 found this review helpful:

DateTime (0.17) ****

The best Perl date module so far.

John Siracusa - 2003-09-06 20:06:23
Was this review helpful to you?  Yes No

0 out of 1 found this review helpful:

DateTime (0.1601) *****

Finaly, a unified Date and Time handling framework!

Josh Hoblitt - 2003-08-13 23:21:16
Was this review helpful to you?  Yes No

0 out of 1 found this review helpful:

DateTime (0.1601) *****

Great Module!! Still in development

Ron Hill - 2003-08-13 10:43:37
Was this review helpful to you?  Yes No


the camel