Re: Days until Easter and Christmas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 6:51 PM -0500 11/15/08, Ron Piggott wrote:
Is there a way to modify this code so it will always be the *next*
Christmas and Easter?

Also, I forgot to add.

Easter lands on different dates depending upon several different factors. For example in Canada it's the day after it is in the USA -- I guess Canadians are slower, eh? :-)

Also, in some religions the date is the full-moon after the Equinox and not a specific date. Furthermore, the Equinox does not always land on March 21, but sometimes it's March 20 (leap year).

As an example, next year Easter will be on April 9, 12, 13, and 19th -- the ten days of Easter. :-)

You can read more about it here:

http://en.wikipedia.org/wiki/Easter

So, my example here:

http://www.webbytedd.com/b2/easter/

would be more correct if it took into account leap year, location, and what religion it's for.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux