RE: [PHP-DEV] Easter functions

From: Date: Mon, 14 Jun 1999 13:55:46 +0000
Subject: RE: [PHP-DEV] Easter functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-6949@lists.php.net to get a copy of this message
> I've been out of touch for a while, so I didn't see the discussion before > those were implemented. But just now when I noticed that 3.0.9 had been > released, I was amazed to see them in the changelog. Isn't that > the sort of > special-purpose function that should be written in PHP and put on > the PX? I > mean, that's why PHP is a language, after all! :) True, but then so could almost any PHP function. ;) I figured it could be a very common calculation that many people would find handy, so that's why I submitted it. > (Can you imagine how big the calendar module would be if it had a special > function for calculating the date of every possible holiday??) Well, there seem to only be three kinds of holidays: - fixed date (i.e. Christmas, Hallowe'en, etc.) - fixed relative to the month (Labor Day, Memorial Day, etc.) - variable (i.e. Easter) AFAIK, there aren't many variable holidays ... and most of those that are (at least in the western world) are based on the date of Easter. But, like I've said, I don't care if these functions end up on the cutting room floor when 3.0.10 is out. At least now you have the code to redo them in PHP! - Colin

« previous php.dev (#6949) next »