Every dayDate & Time

Day of Week
calculator.

Find which weekday any date falls on, past or future, with its place in the month, public holidays and the working by hand.

How it's worked out

The tool counts days on the Gregorian calendar, the one used today, and reads the weekday from the count. The Working card shows two hand methods that give the same answer, so you can check it on paper.

Zeller's congruence, published by Christian Zeller in 1886:

S\displaystyle S=q\displaystyle {}= q+⌊13(m+1)5⌋\displaystyle {}+ \left\lfloor \frac{13(m + 1)}{5} \right\rfloor+K\displaystyle {}+ K+⌊K4⌋\displaystyle {}+ \left\lfloor \frac{K}{4} \right\rfloor+⌊J4⌋\displaystyle {}+ \left\lfloor \frac{J}{4} \right\rfloor+5J\displaystyle {}+ 5J
h\displaystyle h=Smod7\displaystyle {}= S \bmod 7

q is the day of the month and m the month, with March as 3 and December as 12. January and February count as months 13 and 14 of the year before, which puts the leap day at the end of the count. K is the last two digits of the year and J the first two. The brackets mean round down, and mod 7 keeps the remainder after dividing the sum S by 7. A result of 0 is Saturday, 1 is Sunday, and so on to 6 for Friday.

Conway's Doomsday rule is easier in your head. In any year, 4/4, 6/6, 8/8, 10/10, 12/12, 5/9, 9/5, 7/11, 11/7 and the last day of February all fall on the same weekday, the doomsday. Find the doomsday for the year, then count from the nearest of those dates.

Worked examples

Christmas 2026

For December 25, 2026, Zeller gives q = 25, m = 12, K = 26 and J = 20. The sum is 25 + 33 + 26 + 6 + 5 + 100 = 195, and 195 mod 7 = 6, which is Friday. The Doomsday check agrees: 2026's doomsday is a Saturday, so December 12 is one, and the 25th is 13 days later, a Friday. It is the fourth and last Friday of the month and day 359 of the year.

Open this example in the tool

The Moon landing

Apollo 11 landed on July 20, 1969. The doomsday for the 1900s starts from Wednesday. For 1969, add 5, 9 and 2, which gives a Friday. July 11 is a doomsday, and July 20 is 9 days later, so the landing was on a Sunday.

Open this example in the tool

Planning Thanksgiving 2027

US Thanksgiving is the fourth Thursday of November. In the Find a date by its weekday card, choose Fourth, Thursday, November and 2027. The answer is Thu, Nov 25, 2027, the fourth and last Thursday of that month.

Open this example in the tool

Reading your result

Below the weekday, the tiles give the date's place in the month, its day of the year, its ISO week and how far it is from today.

  • In the month is the rule many holidays use. A date from the 22nd to the 28th is always the fourth of its weekday, and the last one when the month ends within a week.
  • ISO week follows ISO 8601: weeks start on Monday and week 1 holds the year's first Thursday. So January 1, 2027 is in week 53 of 2026.
  • Other years shift by one weekday a year, and by two after a February 29. March 1 is a Sunday in 2026, a Monday in 2027 and a Wednesday in 2028, a leap year, then a Thursday in 2029.

The holiday line checks both built-in calendars. US federal holidays use the day offices close, so when July 4 falls on a Saturday the holiday is the Friday before. England and Wales move a weekend bank holiday to the next weekday. If your date is a holiday in one place and not the other, the sentence under the weekday says which.

Every year has at least one Friday the 13th and at most three. A month has a Friday the 13th exactly when it starts on a Sunday, which the calendar card shows at a glance.

Common mistakes

  • Forgetting the January and February rule. In Zeller's formula, January 1, 2000 uses m = 13 and the year 1999, so K = 99 and J = 19.
  • Mixing up the zero day. Zeller counts from Saturday as 0. Most programming languages count from Sunday as 0, so the numbers differ by one.
  • Old dates in the Julian calendar. Britain and its American colonies switched in September 1752, skipping 11 days. A letter dated before then may name a different weekday from the one shown here.
  • Day and month order. 03/04/1854 is March 4 in the US and April 3 in most other countries. Paste dates as 1854-04-03 when in doubt.

Questions people ask

Type your birth date in the month, day and year boxes and the weekday appears at once. The table of other years then shows which weekday your birthday falls on for the next 20 years, so you can spot the ones on a Saturday.

Sources

  • Zeller, C. (1886). Kalender-Formeln. Acta Mathematica 9, 131-136
  • Conway, J. H. (1973). Tomorrow is the day after doomsday. Eureka 36, 28-31
  • ISO 8601 date and time format, week numbering