DateTime Project Modules
So far, the DateTime project includes the following modules:
Base Modules
- DateTime.pm (Dave Rolsky and others) - a base datetime object representing the Gregorian calendar. Also includes DateTime::Duration and DateTime::Infinite.
- DateTime::Locale (Richard Evans and Dave Rolsky) - modules for handling localization. Designed to work in conjunction with DateTime.pm.
- DateTime::TimeZone (Dave Rolsky) - modules for handling time zones. Designed to work in conjunction with DateTime.pm.
- DateTime::Set (Flavio Glock and Dave Rolsky) - a class for representing sets of datetime objects. Also includes DateTime::Span and DateTime::SpanSet.
- DateTime::Incomplete (Flavio Glock) - a class for representing incomplete datetime objects, where not all of the elements of the datetime are known.
Formatting and Parsing Modules
Calendar Modules
Event Modules
Business/Fiscal
Other Modules
- DateTime::Functions (Autrijus Tang) - a procedural interface for DateTime constructors.
- DateTime::HiRes (Joshua Hoblitt) - provides a single method, DateTime::HiRes->now(), that uses Time::HiRes::time() to get the current epoch value as a floating point number.
- DateTime::LazyInit (Rich Measham) - an object with a very quick constructor that provides a small part of the DateTime.pm API, inflating into a real DateTime.pm object as needed .
- DateTime::TimeZone::Alias (Joshua Hoblitt) - allows you to create and remove arbitrary aliases to time zones. This functionality may be integrated into DateTime::TimeZone in the future.
- DateTime::TimeZone::LMT (Rick Measham) - a time zone class for local mean time offsets.
- DateTime::TimeZone::TAI (Eugene van der Pjill) - implements support for TAI as a timezone.
- DateTime::Util::Astro (Daisuke Maki) - provides functions for calculating various astronomical events that are needed for some calendars.
- DateTime::Util::Calc (Daisuke Maki) - a utility module for calculations that are needed for some calendars.
- Time::Local (Dave Rolsky) - not a DateTime module, but it is maintained in the DateTime CVS repository since DateTime.pm needs it.
Friendly Modules
Modules that are not officially part of the DateTime suite but which play nice with it in some way.
Confusing Modules
There are a few modules that start with "DateTime::" that are not trying to be part of the DateTime suite:
And more
There are a lot of other date and time modules for Perl. Please see Dave Rolsky's perl.com article, The Many Dates and Times of Perl, for a fairly comprehensive list.