# Day of the Week Calculator: What Day Was It?

To find the day of the week of any date, count the days from a day you know and take the remainder after dividing by 7. July 20, 1969 fell on a Sunday: the 3rd Sunday of July. Its ISO week is week 29 of 1969 (1969-W29). Pick any date from the year 1 to 9999 below for its weekday, the same date in the next ten years, and the next year it falls on the weekday you choose. To do it in your head, use the Doomsday rule: Sunday comes from a Friday doomsday in 1969 and a count of 2 days forward from July 11.

Canonical page: https://ponderloop.com/tools/day-of-the-week/
Updated: 2026-10-03

## How to use

How to find the day of the week of a date in your head (Doomsday rule)

1. **Find the century anchor**: Compute (5 × (century mod 4) + 2) mod 7, with Sunday = 0. For the 1900s that is 3, a Wednesday; for the 2000s it is 2, a Tuesday.
2. **Add the year part**: Take the last two digits of the year. Divide by 12 (rounded down), add the remainder, then add the remainder divided by 4 (rounded down). For 1969: 5 + 9 + 2 = 16.
3. **Get the doomsday of the year**: Add the century anchor and the year part and take the result modulo 7. For 1969: 3 + 16 = 19, and mod 7 that is 5, a Friday.
4. **Pick the month doomsday date**: Use the table above. For July it is July 11, which is also a Friday.
5. **Count forward to your date**: The difference between your day and the doomsday date, modulo 7, is how many weekdays to move forward. 20 − 11 = 9, and that mod 7 is 2, so move 2 days forward from Friday: a Sunday.

## Reference tables and worked examples

### Doomsday dates: the easy dates to remember in every month

In any year, all of these dates fall on the same weekday, the doomsday of that year. In a leap year January and February move one day later. Learn them once and every date is a short count away.

| Month | Doomsday date | In a leap year |
| --- | --- | --- |
| January | January 3 | January 4 |
| February | February 28 | February 29 |
| March | March 14 | Same |
| April | April 4 | Same |
| May | May 9 | Same |
| June | June 6 | Same |
| July | July 11 | Same |
| August | August 8 | Same |
| September | September 5 | Same |
| October | October 10 | Same |
| November | November 7 | Same |
| December | December 12 | Same |

### Century anchor days

The anchor is the doomsday of the year 00 of each century. The pattern repeats every 400 years, which is how long the Gregorian calendar takes to return to the same weekdays.

| Century | Anchor weekday | Anchor number (Sunday = 0) |
| --- | --- | --- |
| 1600s | Tuesday | 2 |
| 1700s | Sunday | 0 |
| 1800s | Friday | 5 |
| 1900s | Wednesday | 3 |
| 2000s | Tuesday | 2 |
| 2100s | Sunday | 0 |

### July 20 in the ten years after 1969

The example date moves one weekday later each year, or two when a leap day falls in between. It was a Sunday in 1969.

| Year | Weekday |
| --- | --- |
| 1970 | Monday |
| 1971 | Tuesday |
| 1972 | Thursday |
| 1973 | Friday |
| 1974 | Saturday |
| 1975 | Sunday |
| 1976 | Tuesday |
| 1977 | Wednesday |
| 1978 | Thursday |
| 1979 | Friday |

### Worked examples: the Doomsday rule on famous dates

Each row follows the steps below: century anchor plus the year part gives the doomsday of the year, then count from the month's doomsday date. The year part is the last two digits split into twelves, the remainder and the remainder divided by 4.

| Date | Doomsday of the year | Count from the month doomsday | Weekday |
| --- | --- | --- | --- |
| July 4, 1776 | Sunday anchor (0) + 6 + 4 + 1 = 11, mod 7 = 4: doomsday Thursday (leap year) | July 11; 4 − 11 = −7, mod 7 = 0 | Thursday |
| December 7, 1941 | Wednesday anchor (3) + 3 + 5 + 1 = 12, mod 7 = 5: doomsday Friday | December 12; 7 − 12 = −5, mod 7 = 2 | Sunday |
| January 1, 2000 | Tuesday anchor (2) + 0 + 0 + 0 = 2, mod 7 = 2: doomsday Tuesday (leap year) | January 4; 1 − 4 = −3, mod 7 = 4 | Saturday |
| September 11, 2001 | Tuesday anchor (2) + 0 + 1 + 0 = 3, mod 7 = 3: doomsday Wednesday | September 5; 11 − 5 = 6, mod 7 = 6 | Tuesday |
| February 29, 2028 | Tuesday anchor (2) + 2 + 4 + 1 = 9, mod 7 = 2: doomsday Tuesday (leap year) | February 29; 29 − 29 = 0, mod 7 = 0 | Tuesday |
| January 1, 2100 | Sunday anchor (0) + 0 + 0 + 0 = 0, mod 7 = 0: doomsday Sunday | January 3; 1 − 3 = −2, mod 7 = 5 | Friday |

### Weekday of fixed-date holidays, 2026 to 2031

Dates that stay on one calendar day each year. Weekday moves one day later each year, two after a leap day.

| Holiday | 2026 | 2027 | 2028 | 2029 | 2030 | 2031 |
| --- | --- | --- | --- | --- | --- | --- |
| New Year's Day (Jan 1) | Thursday | Friday | Saturday | Monday | Tuesday | Wednesday |
| Valentine's Day (Feb 14) | Saturday | Sunday | Monday | Wednesday | Thursday | Friday |
| Independence Day, US (Jul 4) | Saturday | Sunday | Tuesday | Wednesday | Thursday | Friday |
| Halloween (Oct 31) | Saturday | Sunday | Tuesday | Wednesday | Thursday | Friday |
| Christmas Day (Dec 25) | Friday | Saturday | Monday | Tuesday | Wednesday | Thursday |
| New Year's Eve (Dec 31) | Thursday | Friday | Sunday | Monday | Tuesday | Wednesday |

### Friday the 13th, 2026 to 2031

Every year has at least one Friday the 13th and at most three.

| Year | Count | Months |
| --- | --- | --- |
| 2026 | 3 | February, March, November |
| 2027 | 1 | August |
| 2028 | 1 | October |
| 2029 | 2 | April, July |
| 2030 | 2 | September, December |
| 2031 | 1 | June |

## How it works

Each date is turned into a day number (days since January 1, 1970) with integer arithmetic on the Gregorian calendar, with no time zone or daylight saving involved, so a date never moves to another day. The weekday is that day number plus 4 (January 1, 1970 was a Thursday), modulo 7. The occurrence in the month is the day of the month divided by 7, rounded up; the last such weekday is the one with fewer than 7 days left in the month. The ISO week is the same function as the week number calculator (weeks start Monday; week 1 holds the first Thursday). The next-years list takes the same month and day in later years and skips years where it does not exist (February 29 in a common year). The Doomsday working is calculated step by step from the date, using the century anchor (5 × (century mod 4) + 2) mod 7, the year part (a + b + ⌊b ÷ 4⌋, where the last two digits of the year are 12a + b), and the month's doomsday date, and it is checked against the day-number computation for every day from 1900 to 2100 and for every month of every year from 1 to 9999. Years 1 to 9999 are supported. Dates before October 15, 1582 use the proleptic Gregorian calendar: the Gregorian rules extended backwards. Countries adopted the calendar at different times, so a date from a historical record may need converting from the Julian calendar first. Everything runs in your browser; the date you enter is never sent anywhere.

## FAQ

### What day of the week was I born?

Enter your birth date. For example, July 20, 1969 was a Sunday. The calculator also shows which weekday occurrence in the month it was and, in the second box, the next years your birthday falls on a weekday you choose.

### How does the Doomsday rule work?

John Conway devised it in the 1970s. In every year, a handful of easy dates (4/4, 6/6, 8/8, 10/10, 12/12, 5/9, 9/5, 7/11, 11/7, the last day of February and the 3rd or 4th of January and 14th of March) fall on the same weekday, called the doomsday. Work out the doomsday of the year from its century and last two digits, then count from the nearest doomsday date to your date. The calculator shows these steps for the date you enter.

### How do I find which Saturday a birthday falls on?

Use the second box: pick the date and a weekday and it lists the next years that month and day falls on it. For July 20 after 1969, the next Saturday is in 1974. A date typically returns to the same weekday 5, 6 or 11 years later.

### How is a date on February 29 handled?

February 29 exists only in leap years, so the next-years list and the weekday search count only leap years. A leap day repeats its weekday every 28 years most of the time, but century years such as 2100 are not leap years and break the cycle.

### Is the weekday correct for dates before 1582?

It is correct for the proleptic Gregorian calendar, which extends the Gregorian rules backwards, as ISO 8601 and most software do. Historical records from before a country switched to the Gregorian calendar were dated in the Julian calendar, which runs days behind (10 days in 1582, 13 today). The calendar changed at different times: 1582 in Catholic Europe, 1752 in Britain and its colonies, 1918 in Russia and 1923 in Greece. For a historical date, convert it to Gregorian first.

### What day of the week will Christmas be in 2027?

Christmas Day 2027 is a Saturday. The holiday table above gives New Year's Day, Valentine's Day, July 4, Halloween, Christmas and New Year's Eve for 2026 to 2031, and the calculator gives any other date or year.

### What day of the week was January 1, 2000?

January 1, 2000 was a Saturday. By the Doomsday rule: the 2000s anchor is Tuesday, the year part is 0, so the doomsday of 2000 is Tuesday, and January 3 (January 4 in a leap year) is a doomsday date, so the 1st is a Saturday.

### How often does Friday the 13th happen?

Between 2026 and 2031 every year has one to three, listed in the table above. Over one full 400-year Gregorian cycle (4,800 months) the 13th falls on a Friday 688 times, more than on any other weekday: Sunday 687, Monday 685, Tuesday 685, Wednesday 687, Thursday 684, Saturday 684.

### How do I get the day of the week from a date in Excel or Google Sheets?

Use =TEXT(A1,"dddd") for the weekday name, or =WEEKDAY(A1) for a number (1 for Sunday through 7 for Saturday by default). Both spreadsheets store dates as day counts, so they agree with this calculator for modern dates; Excel does not accept dates before 1900, where this tool does.

### Why does the weekday of a date move by one each year?

A common year has 365 days, which is 52 weeks and 1 day, so the same date falls one weekday later next year, or two when a leap day falls in between. The whole pattern repeats every 400 years, because 400 years contain exactly 146,097 days, a whole number of weeks.

### What does "the 2nd Tuesday of the month" mean here?

The tool counts how many times that weekday has occurred in the month up to and including your date: days 1 to 7 are the first of their weekday, 8 to 14 the second, and so on. It also says whether your date is the last such weekday of the month, which matters for rules like "the last Monday in May".

### Which ISO week is the date in?

ISO 8601 weeks start on Monday and week 1 holds the first Thursday of the year. The result shows the week and its code, such as 1969-W29. For US weeks and the dates a week number covers, see the week number calculator.

## Sources

- [Doomsday rule, Wikipedia](https://en.wikipedia.org/wiki/Doomsday_rule)
- Conway, J. H. "Tomorrow is the Day After Doomsday", Eureka 36 (1973)
- [ISO 8601 date and time format, International Organization for Standardization](https://www.iso.org/iso-8601-date-and-time-format.html)
- [Gregorian calendar and its adoption, Wikipedia](https://en.wikipedia.org/wiki/Gregorian_calendar)
- [WEEKDAY function, Microsoft Support](https://support.microsoft.com/en-us/office/weekday-function-60e44483-2ed1-439f-8bd0-e404c190949a)

---

Cite as: Day of the Week Calculator: What Day Was It?, ponderloop, https://ponderloop.com/tools/day-of-the-week/, updated 2026-10-03
