Day of Week Calculator | What Day Was It?

Day of the Week Calculator

Find out what day of the week any date falls on. Perfect for historical dates, birthdays, or planning future events.

Last updated: March 2026

Understanding Days of the Week

The seven-day week is one of humanity's oldest continuous time-keeping systems, with roots in ancient Babylonian astronomy. Babylonians observed seven celestial bodies visible to the naked eye: Sun, Moon, Mars, Mercury, Jupiter, Venus, and Saturn. Each was assigned a day, creating the seven-day cycle that persists today across nearly all cultures.

English day names blend Latin and Germanic mythology. Sunday and Monday retain their Roman origins (Sun and Moon). Tuesday through Friday honor Germanic gods (Tiw, Woden, Thor, Frigg) who were matched to Roman deities (Mars, Mercury, Jupiter, Venus). Saturday alone preserves its direct Roman name (Saturn's Day). This linguistic fusion reflects England's history: Celtic foundations, Roman occupation, then Germanic (Anglo-Saxon) settlement.

Knowing historical days of the week satisfies curiosity ("What day was I born?") and has practical uses. Historians verify event dates, genealogists research family records, and planners determine optimal days for events. The calculation involves complex modular arithmetic (like Zeller's congruence), accounting for leap years and Gregorian calendar reforms—calculations this tool performs instantly.

How Day Calculation Works

The Algorithm

JavaScript's Date object uses a sophisticated algorithm that accounts for:

Step 1: Parse the date string into day, month, year components
Step 2: Apply Gregorian calendar rules (leap years, etc.)
Step 3: Calculate day of week using modular arithmetic
Step 4: Return 0-6 (Sunday-Saturday)

Day Numbering

0: Sunday
1: Monday
2: Tuesday
3: Wednesday
4: Thursday
5: Friday
6: Saturday
Note: Some systems use 1-7 with Monday=1

Example: July 4, 1776

What day was the U.S. Declaration of Independence signed?

Given:
Date: July 4, 1776
Process:
Using Zeller's congruence or similar algorithm:
Month: July = 7
Day: 4
Year: 1776
Apply modular arithmetic with leap year adjustments
Result: 4 (Thursday)
Answer:
Thursday
Independence was declared on a Thursday!
Named after Thor, the Norse god of thunder ⚡

Frequently Asked Questions

Why is Sunday numbered 0 instead of 1?

Computer systems often use 0-based indexing. JavaScript follows this convention with Sunday=0. Some international standards (ISO 8601) use Monday=1, but the calculator shows both the name and number for clarity.

Can I find the day for really old dates?

Yes, but with caveats. The Gregorian calendar was adopted in 1582 (varying by country). Dates before this used the Julian calendar. The calculator assumes Gregorian rules for all dates, so pre-1582 results may differ from historical records.

What about dates in the far future?

The calculator works for dates far into the future (JavaScript supports years up to 275,760). However, if calendar systems change in the future, the day name might become historical rather than actual.

Why are weekday names different in other languages?

Different languages preserve different mythological traditions. Romance languages (Spanish, French) use Roman gods. Slavic languages often use numbers. Chinese uses elements. But the seven-day cycle is nearly universal.

Can I calculate my birth day of the week?

Absolutely! Enter your birth date to see what day you were born. This is a popular use case—many people find it interesting to know if they were born on a Monday, Friday, etc.

What's the practical use of knowing historical days?

Historians verify event dates (records sometimes conflict on dates but agree on day-of-week). Genealogists cross-reference family records. Event planners avoid scheduling on the same day-of-week as past failed events.

Why does Thursday honor Thor?

Germanic peoples matched their gods to Roman weekday gods. Roman Thursday was Jupiter's Day (Jovis Dies). Germans equated Jupiter with Thor (both thunder gods), creating Thor's Day → Thursday.

Do all cultures use a 7-day week?

Nearly all modern cultures do, though not historically. Ancient Egyptians used 10-day weeks, Romans used 8-day markets. The 7-day week spread globally through Roman and later religious (Jewish, Christian, Islamic) influence.

Related Tools