Day of the Week Calculator (What Day Was a Date?)

Find what day of the week any date falls on, past or future.
Also shows the day of the year, the ISO week number, and whether it is a weekday or weekend.

Day of the Week

What day of the week was that?

Type a birthday, a historical date, or a future appointment and this tells you which day of the week it falls on, along with a few useful extras. People reach for it to find the weekday they were born, to check which day a holiday lands on this year, or to plan around a future date.

How a computer figures it out

Modern code lets the date library do the heavy lifting: every date maps to a count of days from a fixed reference point, and the weekday is that count taken modulo 7. By hand, mathematicians use shortcuts like Zeller’s congruence or the “Doomsday rule,” which exploit the fixed pattern of the Gregorian calendar to work out a weekday mentally. They all rest on the same fact: the calendar repeats on a predictable 400-year cycle, because the leap-year rules (every 4 years, except centuries not divisible by 400) make exactly 146,097 days, which is a whole number of weeks.

What you get back

The weekday name, whether it is a weekday or a weekend, the day of the year (1 to 365 or 366), the ISO week number, and how many days the date is from today (past or future).

A worked example

July 20, 1969, the date of the first Moon landing, was a Sunday. Many people are surprised to learn the weekday of their own birth, since we rarely think of past dates that way.

Where it is useful

Settling “what day were you born” debates, scheduling recurring events, checking which day a deadline or birthday lands on in a given year, and any planning that depends on weekday versus weekend.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.