// free-toolD1 ⇄ D2
Date Difference Calculator
Pick two dates and get the duration between them expressed as years + months + days, alongside the raw totals — days, weeks and hours. Leap years and varying month lengths are handled correctly, computed locally in your timezone.
Loading tool…
no signup · no watermark · unlimited use
Frequently asked questions
Are both endpoint dates counted?
The result is the elapsed span from the first date to the second (end exclusive) — the standard convention. Add 1 to the day total if you need an inclusive count of calendar days touched.
Do leap years affect the result?
They're fully accounted for — the calculation walks the real calendar rather than assuming 365-day years or 30-day months.
More age & date tools
Need custom tools like this in your product?
I build fast, privacy-first web applications with Next.js — these converters run entirely in the browser, and yours can too.