Skip to content

Guides

  • The core functions, which every industry uses.
  • People's working time: duty logs, hours-of-work limits, rest and rolling windows, for any crew, shift or rota.
  • Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air.
  • Container free time, demurrage and detention clocks, billing deadlines, bill of lading dates, multimodal journeys, EPCIS events and EDI timestamps.
  • Satellite navigation time for any receiver: the six system times, week numbers and their rollovers, and RINEX navigation weeks.
  • Satellite time at sea and in ships' records: the clocks receivers on board read, their week rollovers and the leap seconds between them.
  • Timestamps in trading and payment messages: FIX UTC timestamps at the precision their digits state, leap seconds included.
  • Timestamps in HL7 and FHIR clinical data: a precision set by what is sent, and a time with no offset, which HL7 reads as local time and FHIR refuses.
  • Airline schedule dates in IATA SSIM files, METAR and TAF report times with no month, and NOTAM validity times.
  • Public transport timetables in GTFS feeds, where a stop time runs past midnight and still belongs to the service day its trip began on.
  • Device and sensor time on industrial networks: Precision Time Protocol timestamps, which count TAI, and the UTC offset a grandmaster announces.

These guides are organized by task, not by namespace. Each one gathers the runnable patterns for a task into a single page, then links to the reference page of every function mentioned for its full signature. The agent skills teach the same patterns to coding agents.

GroupWhat it covers
ConceptsPlain vs zoned, DST disambiguation
Core Date OperationsGetting the current time, arithmetic, comparison, durations, parsing, formatting, relative time, validation, calendar systems, business calendars, operating hours, nanosecond precision, spans, leap seconds and TAI
Zoned Date OperationsTimezone-aware arithmetic, boundaries, DST control, zone-aware buckets, offset-preserving instants, recurrence rules and cron lines
ConversionBetween plain/zoned/unix/UTC and calendar systems, foreign epochs (NTP, FILETIME, Excel, PostgreSQL), time-ordered IDs, database timestamps (PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, DynamoDB, Redis, Couchbase, Cassandra, ScyllaDB, Neo4j), Parquet, Arrow, protobuf
IntervalsRange math — containment, overlap, set operations, splitting, hours of work
IntegrationCache keys, routers, tables, lint config
IndustriesThe industry layers on top of the core — transport legs and dwell, cut-offs, multi-leg scheduling, punctuality and timestamp classes, free time and demurrage, billing deadlines, bill of lading dates and multimodal ETAs, EDI timestamps, HL7 clinical timestamps, SSIM schedule dates, METAR report times, NOTAM validity, GTFS stop times past midnight, PTP timestamps that count TAI — with real-world scenarios
How-toShort answers to common tasks — add business days, convert between time zones, check whether a local time exists on a DST day

If you’re new to the library, read these three first — in this order:

  1. Plain vs Zoned — the two families of types and why they never mix.
  2. DST Disambiguation — why wall-clock time breaks twice a year and how GMT controls it.
  3. Zoned Operations — scheduling across timezones, the task that needs both.

After that, jump to whichever group matches the task at hand.

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.