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

From: Date: Wed, 02 Jun 1999 20:50:55 +0000
Subject: RE: [PHP-BETA] RE: [PHP-DEV] Re: [PHP-BETA] RE: [PHP-DEV] updated 3.0.9 tarball (again)
Groups: php.beta php.dev 
Request: Send a blank email to php-dev+get-6480@lists.php.net to get a copy of this message
why note call it holidate() and make it able to more than just easter? maybe find like moon cycles, or something ... -brian- > -----Original Message----- > From: Sascha Schumann [mailto:sascha@schumann.2ns.de] > Sent: Wednesday, June 02, 1999 4:47 PM > To: Colin Viebrock > Cc: Egon Schmid; Jim Winstead; PHP Beta Testers; PHP Developers > Subject: Re: [PHP-BETA] RE: [PHP-DEV] Re: [PHP-BETA] RE: [PHP-DEV] > updated 3.0.9 tarball (again) > > > On Wed, Jun 02, 1999 at 04:37:07PM -0400, Colin Viebrock wrote: > > > > 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? > > Maybe use another function name than date. A new user would > find a function > called "easter_date" (or similar) easier than parsing through > the whole long > list of date arguments (if he suspects it there at all). > > -- > > Regards, > > Sascha Schumann > Consultant > > -- > PHP Beta Testers' Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-beta-unsubscribe@lists.php.net > For additional commands, e-mail: php-beta-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.dev (#6480) next »