in Web Development

Easter Date Function for JavaScript

A function that generates a Date object for Western Easter Sunday for any given year. Researched and developed out sheer curiosity of the Easter’s seemingly random date.

Example usage of a input that once submitted returns the year of date of Easter for a given year (between -271820 and 275760).

The date of Easter will appear here.

Uses the algorithm as published in The Date of Easter (on aa.usno.navy.mil, Oct 2007). The algorithm is credited to J. M. Oudin (1940) and is reprinted in the Explanatory Supplement to the Astronomical Almanac, ed. P. K. Seidelmann (1992). See Chapter 12, “Calendars”, by L. E. Doggett.

Your thoughts? Click here to comment.

Comment

All fields voluntary.
Comment submission rules apply.