Dorothy writes:
>I see you like to keep things simple!

An easy way to calculate Easter is to write 
a program that does this (Y is the year, e.g. 2008):

£ Method:                                                                
£ 1. Calculate B = 225 - 11(Y MOD 19).                                   
£ 2. Calculate D = ((B - 21) MOD 30) + 21.                               
£ 3. If D > 48, subtract 1 from it.                                      
£ 4. Calculate E = (Y + [Y/4] + D + 1) MOD 7.                            
£ 5. Calculate Q = D + 7 - E.                                            
£ 6. If Q < 32, Easter is in March (on Qth day); else (Q - 31)th April.  

I have a Unix script that does this, but I won't bore you with it!

Dave


                                         



      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

Reply via email to