Skip to tool
MyToolPantry

Time

Date and Time Difference Calculator

Find exact elapsed days, hours, minutes, and seconds between two date-times.

ToolEnter your information below
Enter YYYY-MM-DD or choose a date.
Choose a time on the clock face. Every minute is available.
Enter YYYY-MM-DD or choose a date.
Choose a time on the clock face. Every minute is available.
Result1 day, 1 hour, 30 minutes, 0 seconds
Total hours
25.5
Total minutes
1,530
Total seconds
91,800
Direction
forward

Elapsed time uses this device’s local time zone. Daylight-saving transitions can make a calendar day shorter or longer than 24 hours.

Save or exportOptional

No project folder exists yet. Create a project folder first.

Save to projectKeep this result with related tools and data.
My Projects

How this tool works

Both local date-times are converted to millisecond instants, subtracted, and decomposed into exact 24-hour days, hours, minutes, and seconds.

Limits to know

Elapsed time uses local date-time interpretation and can differ from a simple calendar-day count across daylight-saving transitions. Ambiguous or nonexistent local times require confirmation.