Date difference
Count the days, weeks and months between two dates, with or without the end date, plus business days.
The code for this tool is fetched only when you open it.
What date difference does
Date difference counts the time between two dates in years, months, days, and totals in weeks and business days. It is for notice periods, project durations, invoice terms and the "how long until" question.
How it works
Calendar subtraction with month-length borrowing, plus a business-day count that skips Saturdays and Sundays and steps through the range rather than dividing by seven.
Nothing is uploaded, because nothing needs to be: the browser already has a decoder, a canvas and an encoder. Close the tab and every trace of the file is gone, which is a stronger guarantee than any deletion policy.
Formats and limits
| Limits | Unlimited. End date is exclusive by default, which is the convention for durations; public holidays are not subtracted, because they differ by country. |
|---|---|
| Price | Free, unlimited, no account |
Worth knowing
- Business days are weekday counts only. Bank holidays are not removed, so a 20-working-day notice period with two holidays is really 22 calendar weekdays.
- The months figure uses real calendar months, so January to February is one month even though it is 31 days.
Questions about date difference
Does the count include the end date?
No. From the 1st to the 8th is seven days, which is the standard way to measure a duration. Add one if you need an inclusive count of calendar days.
How are business days counted?
Monday to Friday within the range, excluding Saturdays and Sundays. Public holidays are not known to the calculator, so subtract them yourself if the deadline is legal rather than practical.
Which time zone is used?
Your device's. Dates are treated as whole calendar days, so the arithmetic is not affected by daylight saving.
Where is my file processed?
No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.
Can I use this without a connection?
Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.
What does it cost?
Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.