Date Difference Calculator

Find the exact number of years, months, days, weeks, hours, and minutes between any two dates. Use presets to quickly set a range.

Date difference

1

years

0

months

0

days

365

Total days

52

Total weeks

8,760

Total hours

525,600

Total minutes

Frequently Asked Questions

How do you calculate days between two dates?

Subtract the earlier date from the later date. The result in milliseconds can be divided by 86,400,000 (ms per day) to get the number of days.

Does the date difference calculator include both start and end dates?

The calculator counts the difference between the two dates, not including both endpoints. To include both, add 1 to the result.

How many days are in a year?

A regular year has 365 days. A leap year has 366 days and occurs every 4 years (with exceptions for century years not divisible by 400).