ToolHub

Date & Time Difference Calculator

Calculate the difference between two dates (years, months, days, weeks, hours) or between two times of day. Fast, secure, client-side.

Total days
Y / M / D
Weeks
Hours
Minutes
Hours
Minutes

Total: minutes

Date & Time Difference Calculator

Work out the difference between two dates — in years, months, days, weeks, hours and minutes — or the difference between two times of day. Useful for counting down to an event, calculating age or duration, or timing a shift. Everything is computed locally in your browser.

About Date & Time Difference Calculator

Find the difference between two dates — in years, months, days, weeks, and hours — or the difference between two times of day. Useful for age, project durations, notice periods, and countdowns.

How to Use

  1. Choose 'between two dates' or 'between two times'.
  2. Pick your start and end values.
  3. Read the difference broken down into useful units.
  4. For times, the result wraps past midnight if the end is earlier than the start.

Why Use This Tool?

Frequently Asked Questions

How is the difference between two dates calculated?

It counts full years, then remaining months, then remaining days between the dates — and also shows the totals in days, weeks, and hours.

Does it include both the start and end dates?

The difference is the span between the two dates. If you need an inclusive count (both endpoints), add one day to the total.

Can I calculate time worked in a shift?

Yes — use the 'between two times' mode. If the end time is earlier than the start (an overnight shift), it correctly rolls over to the next day.

Related tools