Date Difference Calculator — Days, Weeks & Months Between Dates
Calculate the exact span between two calendar dates in total days, weeks, and a years-months-days breakdown. Handles varying month lengths and leap years using calendar date logic.
Select Dates
Calculate the span between two calendar dates.
Difference
Days, weeks, and months between dates.
Total days
925
2 yr, 6 mo, 13 days
Methodology and limitations
Last reviewed:
Methodology
Computes total days between dates and a calendar years-months-days breakdown accounting for varying month lengths.
Limitations
Uses date-only values without time-of-day or timezone offsets.
How Date Difference Is Calculated
Calculate the exact span between two calendar dates in total days, weeks, and a years-months-days breakdown. Handles varying month lengths and leap years using calendar date logic.
Method used
The calculator computes the total day count between two calendar dates and breaks the span into completed years, months, and days accounting for varying month lengths and leap years.
Total days = end date − start date; Y-M-D = calendar decomposition of the span
Practical example
From January 15, 2024 to June 28, 2026 is 895 total days, or 2 years, 5 months, and 13 days when counted in calendar terms.
- Start date
- End date (defaults to today if omitted)
The result shows total days, weeks, months, and a years-months-days breakdown.
Assumptions
- Dates are calendar dates without time-of-day.
- End date is inclusive or exclusive per the calculator's date-difference logic.
- Leap years are handled in the calendar math.
What this includes
- Total days, weeks, months, and years-months-days breakdown between two dates.
What this excludes
- Business-day counting, holiday calendars, time-zone offsets, and legal contract day-count conventions (30/360, ACT/365).
Related calculators
Frequently Asked Questions
How is the date difference calculated?
The calculator counts total calendar days between the start and end dates, then computes completed years, months, and remaining days using the same calendar logic as an age calculator.
Does it include the start or end date in the count?
Total days reflects the full span between the two dates as a difference. For inclusive counting (including both endpoints), add one day to the total days result.
Can I calculate days until today?
Yes. Set the end date to today using the quick action button, or manually pick today's date to see how many days have passed since a start date.
Does the calculator handle leap years?
Yes. Date arithmetic uses actual calendar dates, so February 29 and other leap-year adjustments are handled correctly when computing month and day differences.
What is the difference between total days and total months?
Total days is an exact count of 24-hour periods between dates. Total months counts completed calendar months in the years-months-days breakdown, which may differ slightly from dividing days by 30.