# Dwell Ledger

Industry: Transport

**Key point — terminal dwell charges**

Terminals, yards, gates and berths charge dwell by the local calendar days something was present, not by elapsed hours. A container that gates in at 23:00 and out at 01:00 has been there two hours and two days.

The track is one zone's local days, each column as wide as that day really
is: London's 31 March 2024 had 23 hours, so its column is narrower and
carries a "23 h" chip. The bar is the elapsed time. Two plates above the track
give the elapsed time and the count of local days. Lit columns are the dates the
dwell touched, counted half-open: an exit exactly at local midnight does not touch the new day. The
output is the real
[`dwellTime`](/gmt/reference/transport/calculate/dwellTime/) call for what is on
screen.

**Worth trying:** [the same two instants in London and
Amsterdam](/gmt/tools/dwell-ledger/?w=dwell&wa=%7B%22entry%22%3A%222024-06-15T22%3A30%3A00Z%22%2C%22exit%22%3A%222024-06-16T01%3A00%3A00Z%22%2C%22zone%22%3A%22Europe%2FLondon%22%2C%22compareZone%22%3A%22Europe%2FAmsterdam%22%7D).
The bar is identical on both rows, and the count is two days in London and one
in Amsterdam, because Amsterdam's midnight falls before the entry. Then [drop
the zone](/gmt/tools/dwell-ledger/?w=dwell&wa=%7B%22entry%22%3A%222024-06-15T22%3A30%3A00Z%22%2C%22exit%22%3A%222024-06-16T01%3A00%3A00Z%22%7D):
two bare instants name no place, an offset is not a zone, and `dwellTime`
returns `null` rather than guess.

Reference: [`dwellTime`](/gmt/reference/transport/calculate/dwellTime/) counts the
days across the zone's real transitions;
[`floorToZone`](/gmt/reference/calendar/calculate/floorToZone/) finds the start of
any local day. The rules are in [Transport: Legs and
Dwell](/gmt/guides/industries/transport-legs-and-dwell/).
