Skip to content

TimeDurationUnit

  • The core functions, which every industry uses.

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

import type { TimeDurationUnit } from "@northguild/gmt";
type TimeDurationUnit = keyof Pick<
Temporal.DurationLikeObject,
| "hours"
| "minutes"
| "seconds"
| "milliseconds"
| "microseconds"
| "nanoseconds"
>;

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