How to use it
- Type the Year and the Month, as numbers. Month 1 is January.
- Choose the Weekday, such as Thursday.
- Choose Which one: 1 to 5 for the first to the fifth, or last.
- Read Date. Open the list to see every date of that weekday in the month.
How the date is found
The first day of the month falls on a particular weekday. The first occurrence of the weekday you choose is found by counting forward from the first of the month, by up to six days. Each later occurrence is seven days after the one before, so the nth occurrence is the first one plus seven times (n − 1) days.
The last occurrence is the last one that falls inside the month. A month of 30 or 31 days has four or five of each weekday, and February of a year that is not a leap year has exactly four of each. The leap year rule that sets the length of February is in Wikipedia: Gregorian calendar.
First occurrence: 1 + (weekday − weekday of the 1st) mod 7, counting Sunday as 0
Nth occurrence: first occurrence + 7 × (n − 1)
Last occurrence: the largest such day that does not pass the number of days in the month
Day of the year: days counted from 1 January, which is day 1
What this calculator does not include
- Public holidays and other days that a country moves. This calculator applies the calendar rule only.
- Years before 1900 and after 2100.
- Calendars other than the Gregorian calendar that most countries use today.
Worked example: the fourth Thursday of November 2026
1 November 2026 is a Sunday, so the Thursdays of that month fall on the 5th, 12th, 19th and 26th. The fourth one is 26 November 2026.
26 November is day 330 of 2026 and 14 days after 12 November. November has four Thursdays, so the fourth one is also the last.
| Occurrence | Date |
|---|---|
| 1 | 5 November 2026 |
| 2 | 12 November 2026 |
| 3 | 19 November 2026 |
| 4 | 26 November 2026 |
Frequently asked questions
What is the nth weekday of a month?
It is the date that falls on a given weekday for the nth time, counting from the first day of the month. The second Tuesday, for example, is the second date of that month on which the day is a Tuesday. The last one is the final date of that name in the month.
Can a month have five Mondays?
Yes. A month of 29, 30 or 31 days can have five of some weekdays. February of a year that is not a leap year never does, and then the page says there is no fifth occurrence.
Does the calculator work for any year?
It covers the years from 1900 to 2100 on the Gregorian calendar. Dates are counted in whole days, so a clock change or a time zone does not move them by a day.
What is the difference between the fourth and the last occurrence?
In a month with four occurrences of a weekday, the fourth and the last one are the same date. In a month with five, the last one is the fifth and the two differ.
Is the month or the weekday I type sent anywhere?
No. The calculation runs in your browser, and nothing you type is stored or sent to us.
Sources
Figures and text last checked on Thursday, November 12, 2026.