Skip to content

DateTimeUnit

  • The core functions, which every industry uses.

A date or time unit in the singular, from "year" down to "nanosecond", as Temporal’s rounding and difference options name units.

import type { DateTimeUnit } from "@northguild/gmt";
type DateTimeUnit = Temporal.TimeUnit | Temporal.DateUnit;

types/date-time-unit.ts

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.