Docomint

Date Difference Calculator

Calculate the number of days, weeks, and years/months/days between two dates.

🔒 Processed on your device

A general-purpose gap calculator between any two dates — a project deadline, an anniversary, the time since an event — reporting both a flat day count and a calendar-aware years/months/days breakdown, since "214 days" and "7 months, 2 days" answer slightly different questions depending on what you actually need.

Example: Between January 1, 2026 and August 8, 2026 there are 219 days (31.3 weeks), or 7 months and 7 days in calendar terms — the same gap, described two different ways depending on which framing is more useful.

How it works

  1. Enter two dates, in either order
  2. Press Calculate
  3. The total days, weeks, and a years/months/days breakdown all appear instantly, computed on your device

Frequently asked questions

Does the date difference count both the start and end day?

It counts the number of days between the two dates (e.g. January 1 to January 2 is 1 day apart) — if you need an inclusive count of calendar days spanned (2 days, in that example), add 1 to the result.

Does it matter which date I enter first?

No — this calculator automatically sorts the two dates chronologically before computing the difference, so entering them in either order gives the same result.

Is my numbers uploaded anywhere?

No — Date Difference Calculator runs entirely in your browser using JavaScript/WebAssembly. Your numbers is never sent to a server.

Related tools