Date Difference Calculator
Find out exactly how much time is between two dates. Enter a start date and an end date and the calculator shows the gap in years, months and days, plus the total number of days, weeks, months and hours.
Difference
—
Total days—
Total weeks—
Total months—
Total hours—
How it works
The calculator counts complete years between the two dates, then the remaining whole months, then the leftover days, adjusting for the different lengths of each month and for leap years. The totals convert the whole span into a single unit, such as the total number of days.
Frequently asked questions
Does it count leap years?
Yes. Leap years are handled automatically, so the day counts are accurate.
Can the end date be before the start date?
Yes. The calculator still shows the size of the gap and notes that the order is reversed.
Is the end date included in the count?
The total days count the number of days from the start date up to the end date.