RE: [PHP-DEV] Re: [PHP-BETA] RE: [PHP-DEV] updated 3.0.9 tarball (again)

From: Date: Wed, 02 Jun 1999 20:37:07 +0000
Subject: RE: [PHP-DEV] Re: [PHP-BETA] RE: [PHP-DEV] updated 3.0.9 tarball (again)
References: 1  Groups: php.beta php.dev 
Request: Send a blank email to php-beta+get-89@lists.php.net to get a copy of this message
> > How about date('e') --> when Easter is this year? ;) > > I assume that will be a calendar function. But if you can hide it in > date() I will use it also. I was kinda joking when I mentioned it, but it certainly is do-able. But how would it work? date('e') would return the unix timestamp for midnight on Easter in the current year, and date('e',$timestamp) would return the timestamp for easter in the year of $timestamp? So: date('e') --> 923202000 date('d-M-Y',date('e')) --> 04-Apr-1999 Sound good? Shall I start coding? __________________________________________________________________ Colin Viebrock easyDNS Technologies ... be the master of your domain http://www.easyDNS.com

« previous php.beta (#89) next »