Finding easter in PHP

Status
Not open for further replies.
Okay, here's a fun one with either an easy answer, or a impossible one. How do you locate the date easter will fall on in any given year using PHP?

I'm still searching PHP.net, but I don't have high hopes. So far the only way of locating easter's date I've found is this:

"Easter is celebrated on the Sunday following the full moon next after the vernal equinox (see calendar);"

anyway, if ya have a jump on this one, please, I'd appreciate your help.

Jher
 

dereferenced

Ars Scholae Palatinae
706
Well, google turns up this page of Easter-finding algorithms. They don't have any PHP implementations, but they have some in a few other languages. It shouldn't be too hard to translate. Or you could just use a hard-coded list as suggested.

Cheers

Edit: This page looks interesting too. You know what? Finding Easter is more fun than finding Easter eggs! Muhhahahahahah! :D :D :D :D :D :D

[This message was edited by dereferenced on March 15, 2002 at 20:38.]
 
Status
Not open for further replies.