CalculatorSignAll calculators

Time Between Two Dates with a Checkpoint Calculator

Calculate total elapsed time and each of two legs around a dated checkpoint by using the UTC offset at all three times.

Time Between Two Dates with a Checkpoint Calculator

Result
—

Use this calculator on your site

Paste the full code, including the CalculatorSign credit, into a Custom HTML block on your site.

Preview widget

Calculate time between two dated clock readings and split the result at a dated checkpoint. Enter local dates, clock times and signed UTC offsets for the start, checkpoint and finish. The headline shows the complete elapsed duration, and the detail gives elapsed time on each side of the checkpoint and total decimal hours.

Use the local offset in effect when each of the three readings occurred. An offset four hours behind UTC is negative 240 minutes. An offset two hours ahead is positive 120. Offsets can differ because the readings happened in different locations or because one location's clock rules changed between the dates.

Convert each reading to the same reference clock

A local clock reading equals the corresponding UTC reading plus its offset. To convert it back, subtract the offset. For positive offsets, that moves the clock earlier relative to the local reading. For negative offsets, subtraction moves it later.

Keep the assigned date with the time during conversion. A timestamp near midnight can move to the preceding or following UTC date once the offset is removed. This can affect the result by an entire day if the date is dropped during a hand calculation. The calculator combines each calendar date and clock time before handling its offset.

After converting all three values, subtract the start from the checkpoint for the first leg. Subtract the checkpoint from the finish for the second leg. The legs add to the total elapsed duration. The result uses full periods of 24 hours plus leftover hours and minutes rather than counting local dates crossed.

Worked example across negative and positive offsets

Suppose the first reading is September 7, 2026 at 15:30 with a UTC offset of negative 240 minutes. Removing that offset adds four hours, putting the first instant at September 7 at 19:30 UTC. The second reading is September 9 at 08:15 with an offset of positive 120 minutes. Removing two hours gives September 9 at 06:15 UTC.

From the first UTC instant to the second, one full day elapses by September 8 at 19:30. From there to 06:15 the following morning takes another ten hours and 45 minutes. The result is one day, ten hours and 45 minutes, equal to 34.75 decimal hours. Set the checkpoint to September 8 at 13:15 with a zero offset. It falls 17 hours and 45 minutes after the first UTC instant and exactly 17 hours before the finish.

If both local readings had instead used the same offset, their offset differences would cancel. Looking directly at the example's local times would then give one day, 16 hours and 45 minutes. The actual entered offsets differ by six hours, which is why the normalized comparison produces a shorter duration.

Check your offset source for the date in question

Time-zone abbreviations can be ambiguous, and some locations use different offsets in different seasons. Look for the numerical offset recorded with an event when possible. A date-time string ending in negative four hours supplies more directly usable information for this form than an abbreviation shared by different regions.

Offsets are entered in minutes rather than decimal hours. A positive offset of five hours and thirty minutes becomes 330. An offset of negative three hours and thirty minutes becomes negative 210 because the sign applies to the complete duration. Half-hour and quarter-hour offsets can be represented without rounding.

The tool works with the offsets you supply. It does not look up time-zone rules or decide how to resolve a repeated time during a clock change. If a local time occurred twice on the same date, determine the offset for the intended occurrence before calculating. If a clock reading never occurred because of a clock jump, choose an actual timestamp instead.

Consider whether an event record already uses UTC. If it does, enter its stated date and time with an offset of zero. Do not apply a local conversion before entering the original UTC timestamp unless both the displayed reading and its offset are changed together.

If you are comparing travel records, label which timestamp comes from departure and which comes from arrival. This makes it easier to spot an accidental reversal in the input order.

Frequently asked questions

What if the checkpoint appears outside the interval?

Check the entered dates, times and offsets. The converted checkpoint must be at or after the start and at or before the finish. The two legs are chronological after conversion.

Can the checkpoint match the start or finish?

It may coincide with either. The duration on that side is zero and the other leg covers the complete interval.

Does crossing midnight automatically add a full elapsed day?

The headline reports complete 24-hour periods. Two instants on adjacent dates can be only minutes apart.

What should I enter for two dates in one location?

Use the offset valid at each reading. If all three offsets match, the two legs can be reproduced by subtracting the corresponding local timestamps directly.