Date & Time

Date Difference Calculator

Gap between two dates in years, months, weeks, days, hours, minutes.

Two dates

Calendar difference

0y 0m 0d

End is after start.

Total across each unit

Total weeks

0

Total days

1

Total hours

12

Total minutes

733

Total seconds

43,980

Total ms

43,980,000

About this tool

Pick a start date and an end date and see the difference broken down into every common unit: years + months + days (calendar-style), total weeks, total days, total hours, minutes and seconds. Useful for project planning, contract terms, and ageing calculations.

FAQs

Why are 'total days' and 'years + months + days' different?

Calendar months have 28-31 days. '1 year 2 months 5 days' isn't a fixed number of days because it depends on which months it crosses. The total-days view collapses that into a single absolute count.

Are leap years handled?

Yes - calculations use JavaScript Date arithmetic which handles leap years correctly, including the rare 100-year and 400-year rules.

Does timezone matter?

Dates are interpreted in your local timezone. If you need a UTC-based calculation, pick the same timezone for both inputs (or pre-convert with the timezone-converter tool).

Can I include time-of-day?

Yes - the inputs accept hours and minutes too. Leave them at midnight for whole-day comparisons.

Other tools