Computer programs need to calculate the date of Easter sometimes. In the PHP programming language, there is a function, easter_date, which is used for the purpose. The manual page is here, and is really rather good!
The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first full moon which falls on or after the Spring Equinox. The Equinox is assumed to always fall on 21st March, so the calculation reduces to determining the date of the full moon and the date of the following Sunday. The algorithm used here was introduced around the year 532 by Dionysius Exiguus. Under the Julian Calendar (for years before 1753) a simple 19-year cycle is used to track the phases of the Moon. Under the Gregorian Calendar (for years after 1753 – devised by Clavius and Lilius, and introduced by Pope Gregory XIII in October 1582, and into Britain and its then colonies in September 1752) two correction factors are added to make the cycle more accurate.
Well, we’ve all seen very much worse explanations than that!
- The date is the first full moon after the equinox.
- The “equinox” is deemed to be March 21st (it wobbles a bit in reality).
- The phases of the moon are calculated based on a 19-year cycle.
- Dionysius Exiguus produced the modern version of the calculation, for the Julian calendar.
- The Gregorian calendar tweaked it for accuracy.
I could only wish that our succinct author had also stated what are these “correction factors” in the Gregorian system.
The big omission from that page is any indication of why we want the first Sunday after the full moon after the equinox. The reason is that the first full moon after the equinox is passover. This festival predated the solar calendar, so is calculated by the moon. Jesus was executed on passover, and rose on… the Sunday after. Easter celebrates that event.
It is so uncommon to see all these details put together, that there are many people who suppose that a weird date based on the moon must be prehistoric pagan or something. Nobody is taught this. It is never explained.
Of course the PHP function is purely concerned with the mathematics. But at least it states these very correctly.
It is rather a delight to see a clear and concise statement of the main points of the calculation.