Class::Date provides a date datatype for Perl. You can create new Class::Date objects with a constructor from different scalar formats, array refs, and hash refs, and then you can easily manipulate it by the builtin "+" and "-" operators (e.g., $date=date([2001,03,15])+'3Y 1s'). Relative date types also available.
| Tags | Software Development Libraries |
|---|---|
| Licenses | Artistic GPL |
| Operating Systems | Windows POSIX |
| Implementation | C Perl |
Recent releases


Changes: This release adds "ampm" and "meridiam" methods.


Changes: This release adds support for the Env::C module, and adds documentation about mod_perl issues and thread safety.


Changes: This release fixes a bug in Date::Parse support.


Changes: A new configuration variable, NOTZ_TIMEZONE, has been introduced. The module now removes the TZ environment variable if the timezone of the date is the same as NOTZ_TIMEZONE. This way, the module tries to mimic the behaviour of Class::Date 1.0.x, so that it can work (partially) on systems with broken TZ handling.


Changes: gmtime and timegm are once again used for dates which have a GMT timezone. This makes at least two timezones usable on systems where the timezone is not working (GMT and the local timezone). The documentation is also tweaked a bit.