Last Weekday of a Month
Find the last Monday, Friday or any other weekday in a given month.
What this Last Weekday of a Month calculator does
Find the last Monday, Friday or any other weekday in a given month.
The page starts at the last day of the month and walks back at most six days to the weekday you name, so the answer is always inside the month. The last day itself follows the Gregorian leap rule: February has 29 days in 2028 and 28 in 2026.
How to use it
Enter Year, Month (1-12), Weekday, 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) = 11
Weekday = Friday
Output:
Date = 2026-11-27
Day of month = 27
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.
Last Weekday of a Month: Find the last Monday, Friday or any other weekday in a given month.
The page starts at the last day of the month and walks back at most six days to the weekday you name, so the answer is always inside the month. The last day itself follows the Gregorian leap rule: February has 29 days in 2028 and 28 in 2026.
Worked example: Year = 2026, Month (1-12) = 11, Weekday = Friday gives Date = 2026-11-27; Day of month = 27.
How to use the Last Weekday of a Month calculator
Enter Year, Month (1-12), Weekday, 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
The rule this page applies
The page starts at the last day of the month and walks back at most six days to the weekday you name, so the answer is always inside the month. The last day itself follows the Gregorian leap rule: February has 29 days in 2028 and 28 in 2026.
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-11-27
- Day of month = 27
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) = 11, Weekday = Friday
Sample output
Date = 2026-11-27; Day of month = 27
Who this is for
- Anyone checking a date by hand
- Students and teachers
Frequently asked questions
What does the Last Weekday of a Month calculator do?
Find the last Monday, Friday or any other weekday in a given month. The page prints date, day of month.
How does this page count days?
The page starts at the last day of the month and walks back at most six days to the weekday you name, so the answer is always inside the month. The last day itself follows the Gregorian leap rule: February has 29 days in 2028 and 28 in 2026.
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.
How is the last day of February handled?
It follows the Gregorian leap rule, so February 2028 ends on the 29th and February 2026 on the 28th. The page reads the real month length, not a table.
Can the answer fall in the next month?
No. The search starts at the month's own last day and only moves backwards, so the answer is always inside the month you named.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.