An all-Perl Date Calculation module

Back to home page

Download the Date::Pcalc-1.2 module


What is Date::Pcalc?

This Perl module is a direct translation of Steffen Beyer's excellent Date::Calc module to use Perl only instead of a combination of Perl and C.

This package consists of a Perl module 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).

Why did you rewrite a perfectly good module?

I was working on a project that required date calculations. Date::Calc did exactly what I wanted, but the client's ISP would not allow me to compile C code. I rewrote the few subroutines that I needed into Perl, and then decided to translate the entire module to Perl in case other people encountered the same problem.

Why is version 1.1 so much smaller than version 1.0?

Because version 1.0 included all of the source for the original Date::Calc module. Now it only contains the information necessary to get to the original if you need it.

Whom do I complain to if it doesn't work?

To me, of course. Any errors you find in the module have undboutedly been introduced by my translation from C to Perl.