Skip to content

Guides

These guides are organized by task, not by namespace. Each one ports the runnable patterns from the gmt README and skill docs into a single page, then links to the reference for the full signature of every function mentioned.

Group What it covers
Concepts Plain vs zoned, DST disambiguation
Core Date Operations Getting the current time, arithmetic, comparison, durations, parsing, formatting, validation, calendar systems
Zoned Date Operations Timezone-aware arithmetic, boundaries, DST control
Conversion Between plain/zoned/unix/UTC and calendar systems
Intervals Range math — containment, overlap, set operations, splitting
Integration Cache keys, routers, tables, lint config

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.