| |||||
Julian method (any year since A.D. 1) | Gregorian method (any year since 1583) | ||||
| |||||
| |||||
| |||||
| |||||
|
| ||||
| |||||
| |||||
| |||||
| |||||
|
| ||||
| |||||
Next is a
copy of the algorithm as Claus Tøndering shows it on his site
in a more mathematical approach (also using integer division!),
including the calculation of the correct month and day: |