Skip to content
Runs privately in your browser

Free Online Time Duration Calculator

Calculate elapsed seconds between two offset-qualified instants.

Your input stays on this device. Processing is bounded; regex runs in a worker with a two-second timeout.

Result

How to use Time Duration Calculator

Calculate elapsed seconds between two offset-qualified instants. Calendar dates use Gregorian rules. Instants require an explicit UTC offset; Unix timestamps use seconds, not milliseconds. Endpoints and timezone choices are shown beside the controls.

  1. Set ISO timestamp with UTC offset.
  2. Set End ISO timestamp.
  3. Run the tool, review the result and its stated limitations, then copy or download if needed.

Example & practical use

Calculate elapsed seconds between two offset-qualified instants. The example below demonstrates ISO timestamp with UTC offset; End ISO timestamp.

Example input:
{
  "instant": "2024-01-01T00:00:00Z",
  "endInstant": "2024-01-02T00:00:00Z"
}
Expected result (relevant fields):
{
  "seconds": 86400
}

Features & result limitations

Calendar dates use Gregorian rules. Instants require an explicit UTC offset; Unix timestamps use seconds, not milliseconds. Endpoints and timezone choices are shown beside the controls.

Frequently asked questions

What inputs does Time Duration Calculator accept?

ISO timestamp with UTC offset; End ISO timestamp

How should I interpret the Time Duration Calculator result?

Calendar dates use Gregorian rules. Instants require an explicit UTC offset; Unix timestamps use seconds, not milliseconds. Endpoints and timezone choices are shown beside the controls.

Where does Time Duration Calculator process my data?

Inputs are processed locally in your browser. Submitted text is not sent to external services. A successful-run event increments an aggregate tool counter without your input.