Calendar span
end − start = complete years + complete months + remaining days- start = first civil date
- end = second civil date
Years and months are advanced on the calendar before the remaining day count is measured.
Use the Date difference calculator for fast, clear results with formulas and practical examples.
Use this calculator for project intervals, record comparisons, or checking the number of day boundaries between two civil dates. It reports both calendar components and absolute elapsed time because those answers serve different questions.
end − start = complete years + complete months + remaining daysYears and months are advanced on the calendar before the remaining day count is measured.
elapsed days = ordinal(end) − ordinal(start)This is an exclusive-start difference: equal dates produce zero elapsed days.
weeks = elapsed days / 7Weeks may be fractional; they are not calendar-week labels.
Start: 2026-08-01. End: 2026-08-12.
CalculationResult: The difference is 11 elapsed days, or 1 week and 4 days.
Start: 2024-02-28. End: 2024-03-01.
CalculationResult: The difference is 2 days; February 29 is included.
Use the page’s labelled starter inputs to verify Date difference calculator.
InputsEvaluated result: 0 yrs 7 mths 1 day
Enter start date = 2024-02-29 and end date = 2025-03-01 to include a leap-day boundary and unequal calendar months.
InputsEvaluated result: 1 yr 0 mths 1 day
Scope: ISO 8601 date representation is used to check the formula, definition, or convention relevant to Date difference calculator. The citation does not supply current personal, lender, tax, medical, or market data.
Source checked: