Two years have identical calendars when they begin on the same weekday and are both leap years or both ordinary years. Add up the odd days year by year from the given year until the total is a multiple of 7, and check that the year you land on is of the same type.
Worked example 5: the calendar of 2023
From 2023 to 2033 the odd days are 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, which add up to 14, a multiple of 7. 2034 is an ordinary year, so it uses the same calendar as 2023: both begin on a Sunday.
You can check: 1 January 2023 and 1 January 2034 both fall on a Sunday.
A leap year's calendar normally repeats after 28 years. 2024 began on a Monday, and so does 2052, the next leap year to do so. The rule can break across a century year that is not a leap year, such as 2100.
For reference, 1 January 2024 fell on a Monday, which is the starting point for that comparison.
- ✘ Treating 1900 or 2100 as a leap year.
- ✘ Counting February with 29 days in an ordinary year.
- ✘ Including the target year itself as a complete year.
- ✘ Matching start days without checking that both years are leap years or both ordinary years.
Other time-based reasoning: angles between clock hands and fast and slow clocks.