Find the exact number of days, weeks, months, and years between any two dates. Works for past and future dates.
Days
—
Weeks
—
Months
—
Years
—
How date difference works
The difference between two dates is calculated in milliseconds and then converted to the desired unit. Days = (End − Start) ÷ 86,400,000 ms. Weeks = Days ÷ 7. For months and years, the calculation accounts for different month lengths.
Common use cases: project deadlines, event countdowns, loan terms, age verification, contract durations, and more.
Frequently Asked Questions
How many days are between two dates?
Subtract the start date from the end date in milliseconds and divide by 86,400,000 (ms per day). This calculator does it automatically for any two dates you enter.
Does this count the start and end date?
This calculator counts the days between the two dates (exclusive of the start day). For example, from January 1 to January 3 = 2 days. Add 1 if you want to count both endpoints (inclusive).
Can I calculate working days?
This calculator shows calendar days. To count only working days (Monday–Friday), divide the total days by 7 and multiply by 5, then adjust for any remaining days based on the starting weekday.