Date difference
Inclusive/exclusive counting, leap years, calendar dates versus elapsed time..
No files selected
Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.
Your result
How to use Date difference
- Enter the values you want to calculate and choose the relevant units or settings.
- The result updates as you type. Adjust the available settings if needed.
- Review the result, then use Copy result or a download link when available.
Useful next steps
Working with date difference
Date calculations can depend on calendar rules, time zones and whether endpoints are included. A duration in hours is different from a number of calendar days when daylight-saving changes occur.
Common questions
Are all days exactly 24 hours long?
Elapsed time across a daylight-saving transition can differ from a simple calendar-day count. Use the measure relevant to your schedule.
Why can the same timestamp show different dates?
A timestamp represents an instant, while a calendar date is interpreted in a time zone. Near midnight, the same instant can fall on different local dates.
Continue your workflow: Add days, Business days, Time duration.