Calendar intervals, total days, and weekdays
Either-order mode puts the dates in chronological order and reports a positive interval length with the entered direction. Whole calendar months use a month-end clamp. The day and weekday counts use the same endpoint choice.
For start and end clock times rather than calendar dates, use the Time Duration Calculator to find elapsed hours and minutes.
The formula
Calendar months vary in length, so the years-months-days result is calculated separately from the absolute day count. Inclusive mode adds one day after validating the entered range.
From January 1, 2024 to March 5, 2025
The exclusive interval is 1 year, 2 months, and 4 days: 429 total days, 61 complete weeks plus 2 days, and 307 weekdays.
How to use this calculator
- Enter two valid dates. Today shortcuts use your device’s local date, and Swap dates exchanges the two entries.
- Choose either date order or require a forward interval. Choose whether to count both endpoint dates.
- Read the chronological interval length and the entered direction. Hours, minutes and seconds are day-count equivalents, not a measurement of local elapsed time.
Calendar time and elapsed days answer different questions
A one-month interval can contain 28, 29, 30, or 31 days. The calendar result preserves named months, while total days measures the absolute interval.
Month-end dates are clamped to the last valid day when the corresponding date does not exist in a later month.
Weekdays are calendar weekdays
The weekday count includes Monday through Friday and excludes Saturday and Sunday.
Public holidays and local work schedules are not removed, so use the result as a calendar count rather than a business-day deadline.
Assumptions & limitations
What this calculation assumes
- Dates use the Gregorian calendar at UTC midnight.
- Weekdays mean Monday through Friday.
- The weekday count includes the start date and excludes the end date by default. Inclusive mode counts both dates.
What to keep in mind
- Public holidays are not excluded.
- Times of day and time zones are not represented.
- Legal deadlines may use jurisdiction-specific counting rules.
- Hours, minutes and seconds assume 24 hours per counted date; they do not account for daylight-saving elapsed time.
Common questions
What does include the end date change?
It adds one day to the interval and can also change the calendar duration and weekday count.
Are weekends removed from total days?
No. Total days includes every day; weekdays is shown separately.
Can the end date be earlier?
Yes in Use either order mode. The result shows the positive chronological interval and identifies the reversed entry order. Require end on or after start retains forward-only validation.
Reviewed on