Date & Time

Day of the Week Calculator

Find the weekday, day of the year and ISO week number for any date from 1900 to 2100.

By Nitin Raturi · Last reviewed

Your date

How to use the Day of the Week Calculator

Find the weekday, day of the year and ISO week number for any date.

  1. Pick or type a date.
  2. Read the weekday.
  3. Check the day of the year, ISO week and quarter if you need them.

Good to know

  • The calendar used is the Gregorian calendar, with leap years.
  • Your date stays in your browser.

Gregorian calendar. Your date stays in your browser.

Date

Any date from 1 Jan 1900 to 31 Dec 2100.

How to fill it in

  • Pick a date from the calendar, or type it.
  • Use Today for the current date.

Example

15 Aug 1947 was a Friday; 26 Jan 1950 was a Thursday.

Tip: ISO week numbers can belong to the year before or after: 3 Jan 2021 is in week 53 of 2020.

15 Aug 1947

Friday

15 Aug 1947 is a Friday, day 227 of 365 in 1947.

Day of the year
227 of 365
ISO week
Week 33 of 1947
Quarter
Q3
Leap year
No

Gregorian calendar. ISO 8601 weeks start on Monday, and week 1 is the week with the year’s first Thursday.

How this calculator works

  1. Step 1Count daysDay numberDays since a fixed starting date, leap years included.
  2. Step 2Divide by 7RemainderEvery seven days the weekday repeats.
  3. Step 3WeekdayFridayFor 15 Aug 1947.

The calculator counts whole days from 1 January 1970, a Thursday, using the Gregorian leap-year rule. The remainder after dividing by seven gives the weekday.

Worked example: Independence Day

What day was 15 Aug 1947?
Weekday
(days since a known Thursday) mod 7
  1. WeekdayFriday
  2. Day of the year227 of 365
  3. ISO weekWeek 33 of 1947

26 Jan 1950, when the Constitution came into force, was a Thursday. Leap day 29 Feb 2024 was a Thursday, day 60 of 366.

ISO week numbers

  • 3 Jan 2021Week 53 of 2020Early January can fall in the last week of the year before.
  • 30 Dec 2024Week 1 of 2025Late December can fall in week 1 of the next year.

ISO 8601 weeks start on Monday, and week 1 is the week that contains the year’s first Thursday. Some years have 53 weeks.

Read the result

The headline is the weekday; the table adds the day of the year, ISO week, quarter and whether it is a leap year.

Assumptions and limits

  • Gregorian calendarUsed throughout, 1900 to 2100.
  • ISO weeksMonday start; week 1 holds the first Thursday.
  • No local calendarsPanchang, Hijri and other calendars are not shown.

The weekday is one fact about a date. Counting and shifting dates have their own tools.

To count days between two dates, use the date difference calculator. For a date some days ahead, try the add or subtract dates calculator, and for business days, the working days calculator.

Common mistakes

  • Mistake: Assuming week 1 always starts on 1 January.

    Instead: Under ISO 8601, week 1 is the week with the first Thursday.

  • Mistake: Forgetting that 1900 was not a leap year.

    Instead: Century years are leap years only if divisible by 400.

Checking the method

Every golden date is rechecked with Python’s calendar functions and Zeller’s congruence.

An independent script uses Python’s ISO calendar for week numbers and Zeller’s congruence, a different formula, for weekdays.

Read how we test our calculators, or browse more everyday tools.

Frequently asked questions

What day was 15 August 1947?

15 Aug 1947 was a Friday, day 227 of the year.

What day was 26 January 1950?

26 Jan 1950 was a Thursday.

What is an ISO week number?

ISO 8601 numbers weeks from Monday, with week 1 holding the year’s first Thursday. 3 Jan 2021 is in week 53 of 2020.

Which calendar does it use?

The Gregorian calendar, with its leap-year rule, for dates from 1900 to 2100.

Is my date saved?

It is put in the page link so you can share it, but it is not sent anywhere.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 3 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.