Nth Weekday of a Month screenshot

Nth Weekday of a Month

Find the first, second, third, fourth or fifth given weekday of a month, such as the third Tuesday of March 2026.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
States its rule
Nothing uploaded

What this Nth Weekday of a Month calculator does

Find the first, second, third, fourth or fifth given weekday of a month, such as the third Tuesday of March 2026.

Weeks are counted from the first day of the month: the first matching weekday is the first such day on or after the 1st, and each next occurrence is seven days later. A fifth occurrence exists only when the month is long enough to hold it, and the page refuses instead of inventing a date when it does not. Calendar arithmetic is exact for every Gregorian month, including February in a leap year.

How to use it

Enter Year, Month (1-12), Weekday, Which occurrence (1-5), then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.

Worked example

Input:

Year = 2026
Month (1-12) = 3
Weekday = Tuesday
Which occurrence (1-5) = 3

Output:

Date = 2026-03-17
Weekday = Tuesday
Day of month = 17

Why it runs in your browser

Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.

Nth Weekday of a Month: Find the first, second, third, fourth or fifth given weekday of a month, such as the third Tuesday of March 2026.

Weeks are counted from the first day of the month: the first matching weekday is the first such day on or after the 1st, and each next occurrence is seven days later. A fifth occurrence exists only when the month is long enough to hold it, and the page refuses instead of inventing a date when it does not. Calendar arithmetic is exact for every Gregorian month, including February in a leap year.

Worked example: Year = 2026, Month (1-12) = 3, Weekday = Tuesday, Which occurrence (1-5) = 3 gives Date = 2026-03-17; Weekday = Tuesday; Day of month = 17.

How to use the Nth Weekday of a Month calculator

Enter Year, Month (1-12), Weekday, Which occurrence (1-5), then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.

Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.

  • Year — a whole number
  • Month (1-12) — a whole number
  • Weekday — one of Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
  • Which occurrence (1-5) — a whole number

The rule this page applies

Weeks are counted from the first day of the month: the first matching weekday is the first such day on or after the 1st, and each next occurrence is seven days later. A fifth occurrence exists only when the month is long enough to hold it, and the page refuses instead of inventing a date when it does not. Calendar arithmetic is exact for every Gregorian month, including February in a leap year.

A year is a leap year when it is divisible by 4, except a century, which is a leap year only when divisible by 400. February therefore has 29 days in 2028 and 28 in 2026, and the page reads the real month length rather than a table.

  • Date = 2026-03-17
  • Weekday = Tuesday
  • Day of month = 17

What to Expect

Best for

  • Checking a date by hand
  • Getting the date quickly
  • Comparing two candidate dates

Not ideal for

  • Statutory holiday calendars
  • Time-zone conversion
  • Locales other than English

What this tool keeps

  • Your inputs in this tab
  • The rule, printed in full
  • The same answer on every run

What may need cleanup

  • A date the page refuses, which names the reason instead of guessing
  • A count outside the supported range, which is refused by name

Common errors

  • A date that does not exist, such as 30 February, is refused rather than rolled forward
  • A blank field is refused rather than read as today
  • A written date in an order the page does not accept is refused by name

Example use cases

  • Planning around a deadline
  • Checking a date before you commit to it
  • Homework and exam checking

Sample input

Year = 2026, Month (1-12) = 3, Weekday = Tuesday, Which occurrence (1-5) = 3

Sample output

Date = 2026-03-17; Weekday = Tuesday; Day of month = 17

Who this is for

  • Anyone checking a date by hand
  • Students and teachers

Frequently asked questions

What does the Nth Weekday of a Month calculator do?

Find the first, second, third, fourth or fifth given weekday of a month, such as the third Tuesday of March 2026. The page prints date, weekday, day of month.

How does this page count days?

Weeks are counted from the first day of the month: the first matching weekday is the first such day on or after the 1st, and each next occurrence is seven days later. A fifth occurrence exists only when the month is long enough to hold it, and the page refuses instead of inventing a date when it does not. Calendar arithmetic is exact for every Gregorian month, including February in a leap year.

How are leap years handled?

A year is a leap year when it is divisible by 4, except a century, which is a leap year only when divisible by 400. February therefore has 29 days in 2028 and 28 in 2026, and the page reads the real month length rather than a table.

Which time zone does the page use?

Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.

What happens when there is no fifth occurrence?

The page refuses and names the month's last matching date, because a fifth Tuesday exists only in a month whose length allows it.

How are weeks counted here?

By occurrence, not by ISO week number: the first Tuesday is the first Tuesday on or after the 1st of the month.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.