Homeโ€บ Date & Timeโ€บ Date Difference Calculator

Date Difference Calculator

Calculate the time span between any two dates โ€” in years, months, days, weeks, hours, and minutes. Useful for project timelines, deadlines, and milestones.

Inputs

Total days
โ€”
Years / months / days
โ€”
Total weeks
โ€”
Total hours
โ€”
Total minutes
โ€”

About Date Difference Calculator

Order doesnโ€™t matter

If you enter the dates in reverse, the calculator treats whichever is earlier as the start. The result is always non-negative.

Inclusive vs exclusive

This counts the gap between dates โ€” so March 1 to March 2 is 1 day. To count both dates (e.g., conference duration), add 1 to the result.

Leap years and DST

Leap days (Feb 29) and daylight-saving transitions are handled automatically since dates anchor to midnight in your local zone.