ToolPony.comDocumentation

Time duration calculator

Find intervals, add or subtract durations, and shift a date and time.

Get started

  1. Choose clocks for one shift, dates for a multi-day interval, or the expression mode for arithmetic.

Example

Input

22:30 to 06:15, overnight

Expected result

07:45:00

Try it

Good to know

The calculation runs in your browser. Use consistent units in fields with no explicit unit.

Calculation method

A clock interval can cross midnight. With explicit dates, a day is 24 hours. For an expression, d, h, m and s mean days, hours, minutes and seconds. A minus applies to its whole group of time terms.

T=86400d+3600h+60m+sT=86400d+3600h+60m+s

Calculation mode

Clock interval
  • Start time
  • End time
  • Break · min
  • Allow overnight
Sum durations
  • Durations
Between dates and times
  • Start date
  • Start time
  • End date
  • End time
Add or subtract durations
  • First duration
  • Operation · Add / Subtract
  • Second duration
Shift a date and time
  • Start date
  • Start time
  • Operation · Add / Subtract
  • Duration
Time expression
  • Time expression