Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Doomsday rule

Numerical Algorithm

The Doomsday rule, also called the Doomsday algorithm, is a method for determining the day of the week for any given date. It was devised by the mathematician John Conway in 1973, drawing on inspiration from a perpetual calendar algorithm created by Lewis Carroll. The method works because the Gregorian calendar repeats in 400-year cycles and because each year has a set of easily memorized dates, called doomsdays, that always fall on the same day of the week.

Sources
Wikipedia: Doomsday rule
Lead section
Quote, Lead section
The Doomsday rule, Doomsday algorithm or Doomsday method is an algorithm of determination of the day of the week for a given date.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.