How long between two dates?
This calculator tells you exactly how much time separates two dates — as a total number of days, as weeks, and broken down into years, months and days. It works in either direction, so it doesn't matter which date you put first.
When it's useful
Count down to a holiday, deadline or event; work out how long ago something happened; calculate notice periods, project durations, or the gap between two milestones. Because it uses real calendar dates, the year/month/day breakdown accounts for different month lengths and leap years automatically.
Examples
- Days until a wedding or trip.
- How many weeks a project will run.
- Time since you started a job.
- The gap between two historical dates.
Frequently asked questions
Does order matter?
No — the difference is the same whichever date you enter first.
Are both dates counted?
It counts the gap between them; adjust by one if you need to include both endpoints.
Is my data private?
Yes — everything is calculated in your browser.