Find out what day of the week any date in history or the future falls on
Our calculator uses the Zeller's Congruence algorithm, a well-known method for calculating the day of the week for any Julian or Gregorian calendar date. The formula accounts for:
Dates before October 1582 use the Julian calendar, while later dates use the Gregorian calendar (with the 10-day adjustment for countries that adopted it later).
The calculation follows these steps:
h = (q + ⌊(13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ + 5J) mod 7
Where h is day code (0=Sat, 1=Sun, 2=Mon,...,6=Fri)
The Gregorian calendar repeats every 400 years (20871 weeks exactly). This means January 1, 2023 and January 1, 2423 will fall on the same day (Sunday).
Our calculator is highly accurate for all dates from 1582 onward (Gregorian calendar). For dates before October 1582, it uses the Julian calendar system which was in effect at that time.
Note about calendar reform: When the Gregorian calendar was introduced in 1582, 10 days were skipped to correct drift in the Julian calendar. Different countries adopted the Gregorian calendar at different times:
Our calculator shows the astronomical date, not necessarily the date that would have been recorded in a particular country at the time.
The calculation uses Zeller's Congruence, a well-known algorithm developed by Christian Zeller in 1887. The formula is:
h = (q + ⌊(13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ + 5J) mod 7
Where:
For January and February, we consider them as months 13 and 14 of the previous year. This formula works for both Julian and Gregorian calendars.
Knowing the day of the week for any date has many practical applications:
For example, knowing that July 20, 1969 (Moon landing) was a Sunday helps understand media coverage patterns of the event.