Skip to content

Cut-off Countdown

  • Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air.

isPastCutoff is true and timeToCutoff is PT0S at the cut-off itself, not a moment before it. Drag “now” past the cut-off and watch on time turn to late; drag it back and watch late turn to on time.

1. The cut-off and now

Gate-in at the Rotterdam terminal closed at 17:00 on 12 June 2024. You arrive at 17:20: twenty minutes late, and timeToCutoff says so with a negative duration.

Now is pinned.

2. Late or on time

3. What the calls return

Worth trying: at the cut-off exactly — the window has already closed, at the instant itself. Then a filing sixty hours late — a filing made at the departure-based deadline, checked against the real cut-off.

Reference: isPastCutoff and timeToCutoff are the two calls behind every reading here. See the guide’s has-it-passed section and how-long-is-left section, and the Cut-off Stack for a whole sailing’s deadlines at once.