Home › Date & Time › Date Difference

Date Difference Calculator

Count the days, weeks, months and years between two dates.

Difference
–
In weeks
–
In years/months/days
–

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.

How to use the date difference calculator

  1. Pick the Start date.
  2. Pick the End date.
  3. Click Calculate. You see the difference in days, in weeks and as years, months and days.

Example

From 1 January 2026 to 24 December 2026 there are 357 days, which is exactly 51 weeks, or 11 months and 23 days. If you want to include the start day, for a holiday or rental period for instance, add one day.

Common deadlines

  • Many deadlines run in weeks or months, such as notice periods in job or rental contracts.
  • The right to cancel online purchases in the EU usually lasts 14 days.
  • Warranties often run for 2 years from delivery.

The calculator shows the plain calendar difference. When a legal deadline actually ends depends on the applicable rules, for example if the last day falls on a weekend.

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.

Can I count working days?

This calculator counts calendar days. For a rough estimate of working days, multiply the weeks by five and then subtract public holidays.

Is my data private?

Yes — everything is calculated in your browser.