Calculate the time between two dates in years, months, days, weeks and hours, or add and subtract durations — with optional business days. Free, in your browser.

Everything runs in your browser — no dates are uploaded or stored.

Pick a start and an end date to see the full breakdown.
Choose a base date and an amount to add or subtract.

About Date Difference Calculator

The Date Difference Calculator measures the exact time between any two dates, broken down into years, months, weeks, days, hours and minutes. It also reports the total number of days, weeks, hours and minutes between them, plus the count of business days with weekends excluded.

The calculator counts full calendar years and months first, then the remaining days, so month lengths and leap years are handled correctly. A second mode lets you add or subtract a duration — years, months, weeks, days, hours or minutes — from a base date instead.

Use it to count days until a deadline, work out how long a project ran, verify contract periods or check the gap between two events. Everything runs in your browser, so no dates are uploaded or stored anywhere.

How to use Date Difference Calculator

  1. Choose the calculation mode: “Difference between dates” or “Add or subtract”.
  2. For a difference, pick a start date and an end date (with optional times), or click “Use today” to fill in the current date.
  3. Tick “Include the end day in the count” if the final day should count as a full day.
  4. For the add/subtract mode, pick a base date, choose Add or Subtract, and enter the years, months, weeks, days, hours or minutes to apply.
  5. Read the full breakdown instantly — exact duration, total days, weeks, hours, minutes and business days.

Frequently asked questions

The calculator counts complete calendar years and months first, then the leftover weeks and days. This accounts for months of different lengths and for leap years, so the breakdown matches how people naturally describe a span of time.

By default the end date is excluded, so Monday to Friday is 4 days. Enabling the option counts the end day too, giving 5 — useful for durations like hotel nights versus billable days.

Yes. Alongside the totals it shows the number of business days between the two dates, skipping Saturdays and Sundays. Public holidays are not excluded, so subtract those manually if they matter for your count.

Yes. Each date has an optional time field, so you can measure a duration down to hours and minutes — handy for shifts, flights or anything shorter than a full day.

The tool simply compares the dates in reverse and tells you it did so. You still get a correct positive duration, or you can hit the Swap button to reorder them.

Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.