mAIbmAIbTools

Date Difference Calculator

Find how many days, weeks and years lie between any two dates.

How to use

  1. Pick the start date.
  2. Pick the end date.
  3. See the difference in days, weeks and years.

How the Date Difference Calculator works

Counts the days between two dates, and expresses the gap in weeks and years — for deadlines, notice periods, contract terms and anniversaries.

Both dates are converted to a timestamp, the difference is taken in milliseconds and divided into days. Years use 365.25 to average out leap years.

days = (date₂ − date₁) ÷ 86,400,000 ms

Worked example

From 1 January 2026 to 30 July 2026 is 210 days — about 30 weeks, or 0.58 years.

Things worth knowing

Frequently asked questions

Does it count leap years?

Yes — it uses real calendar dates, so leap years are handled.

Can the second date be earlier?

Yes — it shows the absolute difference and notes when the second date comes first.

Does this count business days?

No, it counts calendar days including weekends and holidays.

Should the end date be included?

It depends on the context. Legal and rental periods frequently count both endpoints, which means adding one to this figure.