Skip to main content

Date Time Difference Calculator

…

Calculates the duration between two dates.

Setup
Compare two datetimes with timezone and boundary options
Advanced options
Leap years and month boundaries can change interpretation in months/weeks views. Use signed mode to preserve direction.
Calculate differences across total duration, calendar components, and timezone-aware interpretation.

Interpretation

Set values and click Calculate to view assumptions and interpretation details.

Outputs

Results

Date Range:
ISO Range:

Approximate total duration per time unit

Years:
Quarters:
Months:
Weeks:
Days:
Business Days:
Active Days (mode-aware):
Signed Days:
Hours:
Minutes:
Seconds:

Number of Days

# Week days:
# Weekend days:
Weeks + Days:
Months + Days:
Years + Months + Days:

…

…

Commenting your code is like cleaning your bathroom you never want to do it, but it really does create a more pleasant experience for you and your guests.

Ryan Campbell

…