A clear answer. Here’s how.
Finds the selected weekday within the supplied Gregorian month. A fifth occurrence can be absent; the tool reports that rather than rolling into the next month. This identifies a weekday pattern, not a public holiday.
How this is checked
3 reference checks passed These 3 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.
See the checks and where each expected answer comes from
Case 1
- Inputs
- Year 2026Month (1–12) 11Weekday 4Occurrence 4
- Expected, and what Toolmoz gave
- Calendar date expected 2026-11-26, Toolmoz 2026-11-26Weekday expected Thursday, Toolmoz Thursday
- Where the expected answer comes from
- 1 Oct 2026 is a Thursday; 31 days later 1 Nov is a Sunday, so the Thursdays are 5, 12, 19 and 26 Nov. The fourth is 26 Nov, the US Thanksgiving date for 2026
- Allowed difference
- exact
Case 2
- Inputs
- Year 2026Month (1–12) 5Weekday 1Occurrence last
- Expected, and what Toolmoz gave
- Calendar date expected 2026-05-25, Toolmoz 2026-05-25Weekday expected Monday, Toolmoz Monday
- Where the expected answer comes from
- 1 May 2026 is a Friday, so the Mondays are 4, 11, 18 and 25 May; the last is 25 May, US Memorial Day 2026
- Allowed difference
- exact
Case 3
- Inputs
- Year 2026Month (1–12) 9Weekday 1Occurrence 1
- Expected, and what Toolmoz gave
- Calendar date expected 2026-09-07, Toolmoz 2026-09-07Weekday expected Monday, Toolmoz Monday
- Where the expected answer comes from
- 1 Sep 2026 is a Tuesday (1 Oct is a Thursday and September has 30 days), so the first Monday is 7 Sep, US Labor Day 2026
- Allowed difference
- exact
What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Year
- 2026
- Month (1–12)
- 10
- Weekday
- Monday
- Occurrence
- First
Example result
- Calendar date
- 2026-10-05
- Weekday
- Monday