Time Duration Calculator

Calculate elapsed time between two date-times.

How to use Time Duration Calculator

Calculate elapsed time between two date-times.

  1. Enter test input, or adjust generator options.
  2. Choose Run and review the available options.
  3. Run the selected action; review any validation message.
  4. Inspect the output before copying, printing or downloading it.

A small example

Options: {
  "start": "2026-01-01T09:00",
  "end": "2026-01-01T17:30"
}

Example output:
{
  "hours": 8,
  "minutes": 30,
  "seconds": 0,
  "totalSeconds": 30600,
  "timeZone": "UTC"
}

When the result looks wrong

Check date-time inputs and time-zone assumptions. Calendar changes and daylight-saving transitions can differ from a simple wall-clock expectation.

Questions about Time Duration Calculator

Is my input uploaded?

File and text processing runs in your browser. Opening the website still loads application assets from its host.

What if the result looks wrong?

Check date-time inputs and time-zone assumptions. Calendar changes and daylight-saving transitions can differ from a simple wall-clock expectation.

Can I use sensitive production data?

Prefer non-sensitive test data. Never paste live access tokens, passwords or confidential documents into a site without assessing its code and environment.

Explore all tools

Browse all tool categories

Supported input and output

Text input; check the selected action and example for the expected syntax.

See the result panel and available copy or download controls for the selected action.

Related Calculators tools

Browse Calculators tools