Date & Life Tools

Day of the Week Calculator

Find the exact day of the week for any date in history or the future. Discover Julian day, ISO week number, leap year status, and days elapsed.

Reviewed for Mathematical Accuracy Last updated: 2026
Moon Landing (Jul 20, 1969) Millennium (Jan 1, 2000) US Independence (Jul 4, 1776) Today
DAY OF THE WEEK
Sunday
Weekend Day
201 / 365
Day of Year
Week 29
ISO Week
No
Leap Year?
Q3
Quarter
Full Formatted Date Sunday, July 20, 1969
Time Distance From Today 20,883 days ago
Days Remaining in Year 164 days left
Zeller's Congruence Result h = 1 (Sunday)

The Mathematics Behind Zeller's Congruence

Calculating the day of the week for arbitrary calendar dates is made possible by Zeller's Congruence, an algorithmic formula published by German mathematician Christian Zeller in 1882. It takes into account the irregular lengths of months, leap years, and the century cycle.

For the Gregorian calendar, the formula is:

h = (q + ⌊13(m + 1) / 5βŒ‹ + K + ⌊K / 4βŒ‹ + ⌊J / 4βŒ‹ - 2J) mod 7

Where:

Gregorian Calendar Leap Year Rules

The Gregorian calendar, instituted by Pope Gregory XIII in October 1582, corrected the accumulated 10-day error of the ancient Julian calendar by refining leap year rules. To maintain synchronization with Earth's astronomical orbit (365.2422 solar days per year):

Day of the Week in Human History

Day Planetary / Mythological Origin Standard Business Classification
Monday Day of the Moon (Mōna) Workday (ISO 8601 Day 1)
Tuesday Tiw's Day (Norse god of war / Mars) Workday (ISO 8601 Day 2)
Wednesday Woden's Day (Odin / Mercury) Workday (ISO 8601 Day 3)
Thursday Thor's Day (Jupiter) Workday (ISO 8601 Day 4)
Friday Frigg's Day (Venus) Workday (ISO 8601 Day 5)
Saturday Saturn's Day Weekend (ISO 8601 Day 6)
Sunday Day of the Sun (Sol) Weekend (ISO 8601 Day 7)

Frequently Asked Questions

What mathematical formula calculates the day of the week?

The standard algorithm is Zeller's Congruence, invented by Christian Zeller in 1882. It computes the day of the week from the calendar day, month, and year using modular arithmetic.

What day of the week was the Apollo 11 Moon Landing?

The Apollo 11 lunar module landed on the Moon on Sunday, July 20, 1969 at 20:17 UTC.

How does the leap year rule work in the Gregorian calendar?

A year is a leap year if it is evenly divisible by 4, unless it is also divisible by 100. However, if the year is also divisible by 400, it remains a leap year (e.g. 2000 was a leap year, but 1900 was not).

Calendar Note: Dates prior to October 15, 1582 are calculated using the proleptic Gregorian calendar standard. Different European territories adopted the Gregorian calendar at different times (Great Britain and American colonies adopted it in September 1752, Russia in 1918).