timer calculator

Professional timer calculator to add durations to a start time, find the duration between two timestamps, and split a duration into equal timers. Mobile-first, accessible, and accurate.

# Timestamp Offset

Full original guide (expanded)

Data Source & Methodology

AuthoritativeDataSource: National Institute of Standards and Technology (NIST), SI Units—Time (seconds and derived units), and ISO 8601:2019 for machine-readable date & time formats. NIST—Second · ISO 8601:2019. All calculations strictly follow these definitions and formats. Tutti i calcoli si basano rigorosamente sulle formule e sui dati forniti da questa fonte.

The Formula Explained

Adding a duration to a start time:

\\[ t_{end} \;=\; t_{start} \;+\; \Delta t \\]

Where the duration is the sum of components:

\\[ \Delta t \;=\; d\cdot 86{,}400{,}000 \;+\; h\cdot 3{,}600{,}000 \;+\; m\cdot 60{,}000 \;+\; s\cdot 1{,}000 \;+\; \mathrm{ms}\quad (\text{milliseconds}) \\]

Duration between two timestamps:

\\[ \Delta t \;=\; |\, t_{end} - t_{start} \,| \\]

Splitting a duration into \\(n\\) equal timers:

\\[ \Delta t_i \;=\; \frac{\Delta t}{n}\quad \text{for } i=1,\dots,n \\]

Glossary of Variables

  • tstart: start timestamp (local time input)
  • tend: end timestamp (computed or provided)
  • Δt: duration in milliseconds combining days, hours, minutes, seconds, and milliseconds
  • n: number of equal timers (split mode)

How It Works: A Step-by-Step Example

Scenario: Start at 2025-10-27 08:00, add 1 day, 2 hours and 30 minutes.

  1. Convert duration to ms: \\(1\\cdot86{,}400{,}000 + 2\\cdot3{,}600{,}000 + 30\\cdot60{,}000 = 99{,}000{,}000\\,\\text{ms}\\).
  2. Add to start time: \\(t_{end} = 2025\!-\!10\!-\!27\\,08{:}00 + 99{,}000{,}000\\mathrm{ms} = 2025\!-\!10\!-\!28\\,10{:}30\\).
  3. Result: End time = 2025-10-28 10:30.

FAQ

Does the calculator handle day boundaries and leap years?

Yes. It uses the browser’s Date object for calendar math, which accounts for month boundaries and leap years automatically.

What time zone is used?

Your local device’s time zone. For UTC workflows, convert your timestamps to local or use ISO 8601 with Z when preparing inputs (then adjust local time accordingly).

Can I enter only minutes and seconds?

Yes. Leave other fields blank. Any combination is accepted as long as the total duration is greater than zero.

How accurate are millisecond calculations?

Arithmetic is exact in milliseconds; display is rounded for readability. Very long durations may exceed milliseconds precision due to Date limits.

What happens if end time is before start time?

In “Between Two Times,” the calculator returns the absolute duration (always non-negative). You’ll also see a direction note.

Can I create a full schedule of equal timers?

Yes. Use “Split Duration,” enter a duration and a split count. The schedule table lists each checkpoint timestamp.

Last accuracy review:


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[t_{end} \;=\; t_{start} \;+\; \Delta t \\]
t_{end} \;=\; t_{start} \;+\; \Delta t \
Formula (extracted LaTeX)
\[\Delta t \;=\; d\cdot 86{,}400{,}000 \;+\; h\cdot 3{,}600{,}000 \;+\; m\cdot 60{,}000 \;+\; s\cdot 1{,}000 \;+\; \mathrm{ms}\quad (\text{milliseconds}) \\]
\Delta t \;=\; d\cdot 86{,}400{,}000 \;+\; h\cdot 3{,}600{,}000 \;+\; m\cdot 60{,}000 \;+\; s\cdot 1{,}000 \;+\; \mathrm{ms}\quad (\text{milliseconds}) \
Formula (extracted LaTeX)
\[\Delta t \;=\; |\, t_{end} - t_{start} \,| \\]
\Delta t \;=\; |\, t_{end} - t_{start} \,| \
Formula (extracted LaTeX)
\[\Delta t_i \;=\; \frac{\Delta t}{n}\quad \text{for } i=1,\dots,n \\]
\Delta t_i \;=\; \frac{\Delta t}{n}\quad \text{for } i=1,\dots,n \
Formula (extracted text)
Adding a duration to a start time: \\[ t_{end} \;=\; t_{start} \;+\; \Delta t \\] Where the duration is the sum of components: \\[ \Delta t \;=\; d\cdot 86{,}400{,}000 \;+\; h\cdot 3{,}600{,}000 \;+\; m\cdot 60{,}000 \;+\; s\cdot 1{,}000 \;+\; \mathrm{ms}\quad (\text{milliseconds}) \\] Duration between two timestamps: \\[ \Delta t \;=\; |\, t_{end} - t_{start} \,| \\] Splitting a duration into \\(n\\) equal timers: \\[ \Delta t_i \;=\; \frac{\Delta t}{n}\quad \text{for } i=1,\dots,n \\]
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
Formulas

(Formulas preserved from original page content, if present.)

Version 0.1.0-draft
Citations

Add authoritative sources relevant to this calculator (standards bodies, manuals, official docs).

Changelog
  • 0.1.0-draft — 2026-01-19: Initial draft (review required).