# Crossing Clock

Industry: Transport

**Key point — canal, strait and border crossings**

Elapsed time is the difference between two instants, not between two clock readings. Subtracting the printed wall clocks gives the wrong answer whenever a DST transition falls between them.

A crossing — a canal transit, a strait passage, a border queue — is logged
as two instants and read on the clock of whoever administers it.
`crossingTime` gives the exact elapsed hours, with the entry and exit
rendered in that one zone.

Each end gets an analog face, and the true elapsed duration sits above the
naive wall-clock subtraction, flagged when the two disagree. A skipped or
repeated hour is drawn on both faces as a wedge — dashed for an hour that
never showed, doubled for one the clock ran through twice. On the fall-back
night both faces read identically and are marked repeated, so identical clocks
do not read as a bug.

**Worth trying:** the default preset already shows a skipped hour — London's clocks jump from 01:00 to 02:00, seven hours actually pass, and
subtracting the wall clocks says eight. Switch to [the added-hour
preset](/gmt/tools/crossing-clock/?w=crossing&wa=%7B%22entry%22%3A%222024-10-27T00%3A30%3A00Z%22%2C%22exit%22%3A%222024-10-27T01%3A30%3A00Z%22%2C%22targetZone%22%3A%22Europe%2FLondon%22%7D)
to see the opposite: one hour actually passes, but both ends read 01:30, so
subtracting the wall clocks says zero. Then [the same spring-forward
night read on a fixed
+02:00](/gmt/tools/crossing-clock/?w=crossing&wa=%7B%22entry%22%3A%222024-03-31T00%3A00%3A00Z%22%2C%22exit%22%3A%222024-03-31T07%3A00%3A00Z%22%2C%22targetZone%22%3A%22%2B02%3A00%22%7D) —
a fixed offset observes no DST, so the wall-clock subtraction agrees and no
wedge is drawn at all.

A day count for a stay is [`dwellTime`](/gmt/reference/transport/calculate/dwellTime/),
drawn in the [Dwell Ledger](/gmt/tools/dwell-ledger/).
