Skip to content
The Calculatorz
Dates & time

Day of the Week Calculator

Find the day of the week for any date, with the day of the year, ISO week number, quarter and leap-year check.

Date

Date

How to use this calculator

Choose any date in the past or future. The calculator tells you which day of the week it falls on and shows its day number in the year, the ISO 8601 week number, the quarter, the number of days in that month and whether the year is a leap year.

Formula

Weekdays follow the proleptic Gregorian calendar. Zeller's congruence gives the same result: h = (q + ⌊13(m + 1) ÷ 5⌋ + K + ⌊K ÷ 4⌋ + ⌊J ÷ 4⌋ + 5J) mod 7. A year is a leap year if it is divisible by 4, except century years that are not divisible by 400.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What day of the week was I born?

Enter your date of birth and the calculator shows the weekday. The rhyme says Monday's child is fair of face, Tuesday's child is full of grace.

What is the ISO week number?

ISO 8601 numbers weeks from Monday to Sunday. Week 1 is the week containing the first Thursday of the year, so the first days of January can belong to the last week of the previous year.

How do I know if a year is a leap year?

Divisible by 4 is a leap year, except years divisible by 100, which are not, unless also divisible by 400. So 2000 and 2024 are leap years but 1900 was not.

Does it work for very old dates?

It uses the Gregorian calendar for all dates (the proleptic Gregorian calendar). Countries switched from the Julian calendar between 1582 and 1923, so historical documents may show a different weekday.

What is the day of the year?

The count of days from 1 January, which is day 1. 31 December is day 365, or 366 in a leap year.

How can I work out the weekday in my head?

Use the Doomsday rule: certain easy dates such as 4/4, 6/6, 8/8, 10/10 and 12/12 always fall on the same weekday in a given year.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Reingold, E. M., & Dershowitz, N. (2018). Calendrical calculations: The ultimate edition (4th ed.). Cambridge University Press. View source
  2. International Organization for Standardization. (2019). ISO 8601-1: Date and time—Representations for information interchange—Part 1: Basic rules. View source
  3. Lombardi, M. A. (2002). NIST time and frequency services (NIST Special Publication 432). National Institute of Standards and Technology. View source
  4. Klyne, G., & Newman, C. (2002). Date and time on the Internet: Timestamps (RFC 3339). Internet Engineering Task Force. View source