TXT · Text & Data tools

Time Difference Calculator

Start timeunset
End timeunset
Show result in
Waiting for input

Choose a start time and end time to calculate the duration.

NoValid timesHoursUnitAbsoluteModeWaitingDirection

Calculate elapsed time

Calculate the duration between two date-time values and choose the unit that matches the job. The main result can show milliseconds, seconds, minutes, hours, days, weeks, average months, or average years.

The cards below the main result keep the other units visible, so changing the selector does not hide the full context. Copy Report collects the selected result, the fixed-unit conversions, the average month and year estimates, and the clock-style breakdown.

Fixed units and average units

Milliseconds, seconds, minutes, hours, days, and weeks use fixed unit sizes. A day is treated as 24 hours, and a week is treated as 7 fixed days.

Months and years are different. Calendar months can have 28, 29, 30, or 31 days, and leap years change the length of a calendar year. The average month and year cards use Gregorian averages, so they are estimates rather than contract or billing rules.

Signed and absolute results

Absolute result is on by default because most duration checks ask for distance. Turn it off to preserve the sign when the end time is before the start time.

The Now button fills the end field with the current date and time. Swap reverses the two inputs when you need to check the same span in the opposite direction.

Frequently Asked Questions

It accepts two date-time values from the start and end fields. The result can be shown in milliseconds, seconds, minutes, hours, days, weeks, average months, or average years.

Absolute result shows the distance between the two times without a negative sign. Turn it off when the direction matters, such as checking whether an end time is before a start time.

Months and years do not have fixed lengths. The calculator uses average Gregorian lengths for those units, while milliseconds through weeks use fixed unit sizes.

Now fills the end field with the current date and time from your device. It is useful for measuring elapsed time from a saved timestamp.

Explore Our Tools

Browse all tools