Skip to content

isZonedFuture

  • The core functions, which every industry uses.
isZonedFuture(value: string): boolean

Return true when value represents an instant strictly after now.

  • Unlike the plain isFuture, which compares calendar days, this compares the exact instant value represents against Temporal.Now.instant() — value carries a full time-of-day, not just a date.
  • value === now (to the precision available) returns false — “future” means strictly after, not on-or-after.
  • Returns false if value is invalid.
ParameterTypeDescription
valuestringISO ZonedDateTime string

true if value is after the current instant, false on invalid input

import { isZonedFuture } from "@northguild/gmt/zoned/compare";
isZonedFuture("2999-01-01T00:00:00Z[UTC]") // true (an instant in the distant future)
output 

zoned/compare/isZonedFuture.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.