End of Month Date
The last day of the month a date falls in, with the count of days and the weekday.
What this End of Month Date calculator does
The last day of the month a date falls in, with the count of days and the weekday.
The month length comes from the Gregorian calendar, so February ends on the 28th or the 29th according to the leap rule and no other month varies. The day count includes the first day, so a 30-day month ends on day 30. The time of day is never read.
How to use it
Enter Date, then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.
Worked example
Input:
Date = 2026-02-10
Output:
Last day of month = 2026-02-28
Days in month = 28
Weekday = Saturday
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.
End of Month Date: The last day of the month a date falls in, with the count of days and the weekday.
The month length comes from the Gregorian calendar, so February ends on the 28th or the 29th according to the leap rule and no other month varies. The day count includes the first day, so a 30-day month ends on day 30. The time of day is never read.
Worked example: Date = 2026-02-10 gives Last day of month = 2026-02-28; Days in month = 28; Weekday = Saturday.
How to use the End of Month Date calculator
Enter Date, 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.
- Date — a date written YYYY-MM-DD
The rule this page applies
The month length comes from the Gregorian calendar, so February ends on the 28th or the 29th according to the leap rule and no other month varies. The day count includes the first day, so a 30-day month ends on day 30. The time of day is never read.
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.
- Last day of month = 2026-02-28
- Days in month = 28
- Weekday = Saturday
What to Expect
Best for
- Checking a date by hand
- Getting the last day of month 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
Date = 2026-02-10
Sample output
Last day of month = 2026-02-28; Days in month = 28; Weekday = Saturday
Who this is for
- Anyone checking a date by hand
- Students and teachers
Frequently asked questions
What does the End of Month Date calculator do?
The last day of the month a date falls in, with the count of days and the weekday. The page prints last day of month, days in month, weekday.
How does this page count days?
The month length comes from the Gregorian calendar, so February ends on the 28th or the 29th according to the leap rule and no other month varies. The day count includes the first day, so a 30-day month ends on day 30. The time of day is never read.
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 decided?
By the Gregorian rule: divisible by 4, except centuries not divisible by 400. The page computes the month length rather than reading a table.
Does the answer depend on the input's day?
No. Any day inside the month gives the same last day; the day you type only decides which month is looked at.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.