Date Difference Calculator
Find elapsed days and the calendar span between two dates.
Result
Calendar difference: 2 years, 6 months, 23 days
Elapsed days and calendar years/months/days answer different questions, so both are shown.
- Elapsed days
- 934
- Whole weeks
- 133
- Days after whole weeks
- 3
- Direction
- End is after start
https://calcgallery.com/date-time/date-difference-calculator/
Calendar results use the proleptic Gregorian calendar. Timezone results use the IANA data supplied by your browser or server, whose political rules can change. Confirm critical schedules with the people or service involved. Read the full disclaimer
How to use the Date Difference Calculator
- Enter the two calendar dates you want to compare.
- Keep the order meaningful if you want the direction label to describe the sequence.
- Use elapsed days for a fixed count and the calendar span for anniversaries.
Two useful meanings of difference
Elapsed days count midnight-to-midnight steps. Calendar difference instead takes complete years, then complete months and the remaining days. From January 31 to February 28 is 28 elapsed days but one calendar month under the documented clamping rule.
The calculation uses integer calendar-day numbers, so daylight-saving changes never turn one date into a 23-hour or 25-hour day.
With your numbers
- 2024-02-29 to 2026-09-20 spans 2 years, 6 months, 23 days
- 934 elapsed days = 133 whole weeks and 3 days
Quick reference
Elapsed days and calendar years/months/days answer different questions, so both are shown.
| Example | Calendar difference |
|---|---|
| Leap date to current example | 2 years, 6 months, 23 days |
| One week | 7 days |
| Reverse order | 11 months, 30 days |
| Same date | 0 days |
| Month boundary | 1 month |
| One calendar year | 1 year |
Common questions about the Date Difference Calculator
- Why do calendar months and elapsed days differ?
- Months range from 28 to 31 days. A calendar span preserves year and month boundaries instead of replacing every month with an average.
- Are both endpoint dates counted?
- Elapsed days measures the distance between the dates. Equal dates are zero days apart. Use Business Days when an inclusive working-day count is needed.
- Can the end date be earlier?
- Yes. The magnitude remains positive while the direction row states that the end is before the start.