The Date::Calc package consists of a C library and a Perl module (which uses the C library internally) for all kinds of date calculations based on the Gregorian calendar (the one used in all Western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable). The package is designed as an efficient toolbox, not a bulky ready-made application. It provides extensive documentation and examples of use, multi-language support, and special functions for business needs. The C library is specifically designed so that it can be used stand-alone, without Perl.
| Tags | Scientific/Engineering Software Development Libraries Mathematics |
|---|---|
| Licenses | Artistic GPL LGPL |
| Operating Systems | OS Independent |
| Implementation | C Perl |
Recent releases


Changes: This release features C++ compiler directives, fixes a bug in the initialization of "Year" calendar objects, improves calendar.cgi by adding a new method tags() to Date::Calendar, fixes some calendar profiles and languages, adds Romanian, some Norwegian holidays and an additional Date::Calc "recipe", hopefully fixes the bug in test 5 of test script t/m005.t, and removes the module Carp::Clan from the distribution, which is available separately.


Changes: This version simplifies the internal error message handlers in Calc.xs (which reduces the code size a bit).


Changes: This release fixes the failing tests in t/f034.t and t/m006.t and replaces the profiles for Polish/Poland with an ISO-Latin-1 approximated version.


Changes: Out-of-the-box (i.e., without requiring porting) support for MacOS Classic/MacPerl, a new method (normalize), new languages (Hungarian, Polish), and new holiday profiles (Mexico, Poland) and commemorative dates (Brazil).


Changes: Many new functions were added. The Date::Calc::Object module was added for date objects with overloaded operators. The Date::Calendar module was added for date calculations with holidays. Holiday profiles for many countries are available. Scripts for displaying calendars (via CGI or the command line) are available.