Skip to content

DateTimeDurationUnit

  • The core functions, which every industry uses.

Any field of an ISO 8601 duration, in the plural, from "years" down to "nanoseconds". It names the unit an amount of time is given in or a difference is measured in.

import type { DateTimeDurationUnit } from "@northguild/gmt";
type DateTimeDurationUnit = keyof Temporal.DurationLikeObject;

types/date-time-duration-units.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.