[PHP-DB] Geeky question

2007-04-06 Thread Ron Piggott
Is there a way to find out what dates Easter will be in PHP for 2008,
2009, etc.?  Ron


Re: [PHP-DB] Geeky question

2007-04-06 Thread Mihail Bota
http://users.chariot.net.au/~gmarts/eastcalc.htm

Mihai
On Fri, 6 Apr 2007, Ron Piggott wrote:

 Is there a way to find out what dates Easter will be in PHP for 2008,
 2009, etc.?  Ron


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Geeky question

2007-04-06 Thread Ron Piggott
I did say 'geeky' ... and I have seen amazing stuff on this list of
programmers helping each other ... Ron

On Fri, 2007-04-06 at 20:46 -0400, Stephen Smith wrote:

 Hmmm not sure that is really possible without using the gregarian calendar 
 or whatever it is called.  Easter is always the first sunday after the first 
 full moon following the veneral equinox.  Not sure of the spelling for 
 veneral, but someone may know what I mean.  I think this is a crazy to 
 calculate it - but it uses some other calendar I believe.
 
 HTH
 
 steve Smith
 
 - Original Message - 
 From: Ron Piggott [EMAIL PROTECTED]
 To: PHP DB php-db@lists.php.net
 Sent: Friday, April 06, 2007 8:42 PM
 Subject: [PHP-DB] Geeky question
 
 
  Is there a way to find out what dates Easter will be in PHP for 2008,
  2009, etc.?  Ron
 
 
 
 
 
 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007 
 3:33 PM
 


Re: [PHP-DB] Geeky question

2007-04-06 Thread Ron Piggott
Found a PHP function ... thanks for the help.  Ron

easter_date($current_year)

On Fri, 2007-04-06 at 20:46 -0400, Stephen Smith wrote:

 Hmmm not sure that is really possible without using the gregarian calendar 
 or whatever it is called.  Easter is always the first sunday after the first 
 full moon following the veneral equinox.  Not sure of the spelling for 
 veneral, but someone may know what I mean.  I think this is a crazy to 
 calculate it - but it uses some other calendar I believe.
 
 HTH
 
 steve Smith
 
 - Original Message - 
 From: Ron Piggott [EMAIL PROTECTED]
 To: PHP DB php-db@lists.php.net
 Sent: Friday, April 06, 2007 8:42 PM
 Subject: [PHP-DB] Geeky question
 
 
  Is there a way to find out what dates Easter will be in PHP for 2008,
  2009, etc.?  Ron
 
 
 
 
 
 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007 
 3:33 PM
 


[PHP-DB] DATE

2007-04-06 Thread Ron Piggott
Would someone help me with this ---

How do I get the results for 2 days before Easter Sunday from this ---
what do I have to do to my date statement to figure out Good Friday?

$good_Friday = date(Y-m-d, easter_date($current_year));