Re: [PEPr] Comment on Date and Time::Date_Holidays
| From: | Carsten Lucke | Date: | Sun, 20 Jun 2004 14:54:32 +0000 |
| Subject: | Re: [PEPr] Comment on Date and Time::Date_Holidays | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30959@lists.php.net to get a copy of this message | ||
Hello,
Lorenzo Alberton wrote:
Regards, Carstendoes it work on <1970 and 2037< dates too? Otherwise, you can convert the timestamp to ISO with a simple date('Y-m-d H:i:s', easter_date($year)); call... I used the Gaussian algorithm to calculate this. It works for years between 1700 and 2199.Is there any difference between Date_Holidays_Driver_Christian::_calcEaster() and the php function easter_date()? [5]easter_date() returns a timestamp and I tried to avoid using timestamps in the package.