TIME

Time Difference Calculator

Enter an end time and a duration to find when a process started. A process that has run for 3127 seconds at 22:18:00 started at 21:25:53.

Runs in your browser. Nothing you enter is sent to a server.

24-hour clock, seconds optional.
Seconds, 52m 7s, or 00:52:07.
Process started at 21:25:53

52 min 7 s (3127 s) before 22:18:00

Advertisements

How do you find a start time from a duration?

Subtract the duration from the end time. Convert the seconds into hours, minutes and seconds first, then subtract each part, borrowing from the next unit when needed.

  1. Whole hours: 3127 ÷ 3600 = 0, remainder 3127.
  2. Whole minutes: 3127 ÷ 60 = 52, remainder 7 seconds.
  3. Subtract 00:52:07 from 22:18:00: 21:25:53.

The same works in reverse: add the duration to a start time to find when a process will finish.

Examples

End timeDurationStart time
22:18:003127 s21:25:53
09:00:001h 30m07:30:00
00:20:0045 min23:35:00 (previous day)

Common durations in seconds

SecondsEquals
601 minute
3,6001 hour
86,4001 day
604,8001 week

Questions

How do I find the start time from a duration in seconds?

Subtract the duration from the end time. Convert the seconds to hours, minutes and seconds first: 3127 seconds is 52 minutes and 7 seconds, so a process that has run for 3127 seconds at 22:18:00 started at 21:25:53.

Which duration formats can I enter?

Plain seconds (3127), units (52m 7s, 1h 30m, 90 min, 2d 4h) or hours, minutes and seconds (00:52:07).

What if the process started the day before?

When the duration is longer than the time since midnight, the start time wraps to the previous day and the calculator labels it, for example 23:35:00 (previous day).

How do I measure the time between two clock times?

Choose "Time between" and enter both times. If the end time is earlier than the start time, the calculator assumes the period crosses midnight.

Does the calculator handle time zones?

No. Both times are read on the same local clock, which is what you need for log timestamps and process durations from one machine.

Support this site

The tools are free and need no account. If one saved you time, a small donation helps keep them running.

Want a tool or feature? Suggest it for free, or donate and write your request in the message. Supporters' requests are looked at first.