Nth Weekday Date Calculator
A great many dates are defined by a rule rather than a number: the fourth Thursday of November, the last Monday of May, the third Friday of every month. Working those out by hand means counting on a calendar, and the awkward cases are the months with only four of a weekday when you asked for the fifth. This finds the date, lists every occurrence in the month, and says outright when the one you asked for does not exist.
What this generator does
Walks every day of the month, collects the ones falling on the chosen weekday, and takes the nth — counting from the end for 'last'. It reports how many occurrences the month has and whether the date found is the final one.
How to use this tool
- Choose the year, month, weekday and which occurrence.
- Read the date, or the note saying there isn't one.
- Look at the full list of that weekday's dates in the month.
- Compare 'fourth' against 'last' — sometimes they differ.
Understanding the controls
- Year and month
- Any month from 1900 to 2200. Leap years are handled, including the century rule that makes 1900 not a leap year and 2000 one.
- Weekday and which one
- First through fifth, or last. Choosing the fifth often gives no date at all, which the tool says rather than silently returning the fourth.
Common use cases
- Finding the date of a rule-defined holiday in any year
- Working out a recurring monthly meeting date
- Checking whether 'the fourth' and 'the last' are the same date this month
- Planning a schedule around the third Friday of each month
- Producing dates for a calendar or a rota
How this generator works
The day of the week is computed arithmetically from the date rather than by asking a date library, so no timezone can shift the answer. Every day of the month is checked against the chosen weekday and collected in order, and the nth is taken — or counted back from the end when 'last' is chosen. Before display the date found is confirmed to fall on that weekday, to be inside the month, and to be at exactly the position claimed, with the occurrences recounted independently.
Randomness and fairness
Nothing here is random. A year, month, weekday and ordinal give exactly one date, or none.
For how randomness is produced across the whole site, see how Generate Random works.
Limitations and good to know
- The Gregorian calendar only, so dates before its adoption in a given country will not match historical records.
- No timezone handling at all, which is deliberate — a rule-defined date is a calendar date rather than an instant.
- Fifth occurrences frequently do not exist, and the tool reports that rather than falling back to the fourth.
- Holidays that move for other reasons, such as a bank holiday shifted because it falls on a weekend, need that rule applied separately.
Privacy and your data
The calculation runs in your browser and your choices are never transmitted, stored or included in analytics.
Related generators
- Business Day CalculatorWorking days between two dates, and the date a number of working days away — with both ends counted and holidays excluded.
- Recurring Date GeneratorExpands a repeat rule into actual dates — and says what happened when a month has no 31st or no fifth Tuesday.
- ISO Week Date ConverterConverts a date to its ISO 8601 week date, and shows when the ISO year is not the calendar year.
- Easter Date CalculatorWorks out Easter Sunday for any year from the rule that defines it, along with every date that hangs off it.