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.