zoned
addZoned: Add a temporal amount to a zoned ISO 8601 datetime string and return a zoned ISO 8601 string.addZonedBusinessDays: Return a zoned ISO 8601 datetime string withamountbusiness days added tovalue.clampZoned: Restrictvalueto the range [min,max] in zoned datetime space.closestZonedTo: Return the candidate zoned datetime nearest totargetby temporal distance.cycleZoned: Return a ZonedDateTime ISO string withfieldcycled byamount, wrapping at that field’s own min/max instead of carrying into the next larger field.diffZoned: Return the difference between two zoned datetimes measured in the given date-time unit.diffZonedAsDuration: Return the difference between two zoned datetimes as an ISO 8601 duration string, bridging to thedurationnamespace (seeparseDuration,normalizeDuration).endOfQuarterForZoned: Return the end of the quarter for a given zoned ISO datetime.endOfZoned: Return the end of the specified date-timeunitfor a given zoned ISO 8601 datetime string.getHoursInZonedDay: Return the number of hours in the calendar day a zoned datetime falls on.getLocaleZonedDayOfWeek: Return the locale-relative day-of-week index for a zonedvalue.getLocaleZonedEndOfWeek: Return the end of the week containingvalue, usinglocale’s first day of week (e.g. fr-FR: week ends Sunday, ja-JP: week ends Saturday).getLocaleZonedStartOfWeek: Return the start of the week containingvalue, usinglocale’s first day of week (e.g. fr-FR: Monday, hi-IN: Sunday).getQuarterForZoned: Return the quarter of the year (1-4) for a given zoned ISO datetime.maxZoned: Return the latest (maximum) of the given ZonedDateTime values.minZoned: Return the earliest (minimum) of the given ZonedDateTime values.roundZoned: Round an ISO 8601 zoned datetime string to the specified unit.setZoned: Return a zoned ISO 8601 datetime string with the givenfieldsset onvalue.sortZoned: Sort an array of ZonedDateTime values in ascending or descending order.startOfQuarterForZoned: Return the start of the quarter for a given zoned ISO datetime.startOfZoned: Return the start of the specified date-timeunitfor a given zoned ISO 8601 datetime string.subtractZoned: Subtract a temporal amount from a zoned ISO 8601 datetime string and return a zoned ISO 8601 string.subtractZonedBusinessDays: Return a zoned ISO 8601 datetime string withamountbusiness days subtracted fromvalue.
chopZonedDate: Extracts the local time portion from an ISO 8601 zoned datetime string.chopZonedDateTime: Extracts the IANA timeZone identifier from an ISO 8601 zoned datetime string.chopZonedMilliseconds: Returns the zoned datetime string rounded/truncated to second precision.chopZonedSeconds: Returns the zoned datetime string truncated to minute precision.chopZonedTime: Extracts the local date portion from an ISO 8601 zoned datetime string.chopZonedTimezone: Returns the local plain datetime (date + time) extracted from a zoned datetime string.
classifyStoredZoned: Says whether a stored RFC 9557 string with both an offset and a zone still names one instant under this host’s time zone rules, and gives every reading when it does not.
areZonedEqual: Compare two zoned datetime strings the way Temporal’sZonedDateTime.prototype.equalsdoes.areZonedEqualBy: Compare two zoned ISO datetime strings for equality at a given unit.isAfterZoned: Return whethervalue1represents an instant strictly aftervalue2.isBeforeZoned: Return whethervalue1represents an instant strictly beforevalue2.isBetweenZoned: Return true whenzonedis betweenstartandend(inclusive by default).isInDaylightSaving: Check whether a zoned value’s instant falls within daylight saving time.isZonedBusinessDay: Return true whenvaluefalls on a Monday–Friday business day in the given timezone.isZonedFuture: Return true whenvaluerepresents an instant strictly after now.isZonedPast: Return true whenvaluerepresents an instant strictly before now.isZonedRelativeDay: Return true whenvalue’s local calendar day fallsoffsetDaysdays from today invalue’s own IANA timeZone.isZonedThisUnit: Return true whenvalue’s local calendar day falls in the sameunitas today, both resolved invalue’s own IANA timeZone.isZonedWeekend: Return true whenvalue’s local calendar day falls on a weekend forlocale.
convertPlainDateTimeToZoned: Attach the specifiedtimeZoneto a plain datetime string and return a zoned ISO 8601 datetime string.convertZonedToCalendar: Express a zoned datetime in a calendar system: the RFC 9557 stringTemporal.ZonedDateTime#toString()writes for that instant, zone and calendar.convertZonedToPlainDateTime: Convert a zoned ISO 8601 datetime string to a plain datetime string.convertZonedToUnix: Convert an ISO 8601 zoned datetime string to a unix epoch value in milliseconds (default) or seconds.convertZonedToUtc: Convert an ISO 8601 zoned datetime string to a UTC Instant string (ISO).convertZonedToZoned: Convert a zoned ISO 8601 datetime string to the same instant in a differenttimeZone.
formatCalendarZoned: Format a zoned date-time as a relative day label plus time-of-day, e.g. “tomorrow at 14:30” — the zoned counterpart offormatCalendar.formatRelativeZoned: Format the relative time between a zoned date-time and a reference instant.formatRfc2822: Format a zoned ISO 8601 datetime string as an RFC 5322 (RFC 2822) date-time — the fixed grammar emailDate:headers require.formatRfc3339: Format a zoned ISO 8601 datetime string as strict RFC 3339 — the ISO 8601 profile RFC 3339 §5.6 defines, permitting only an explicit numeric offset orZ, never a bracketed IANA zone name.formatTimeZoneName: Return the localized display name for an IANA timeZone.formatZonedDateTime: Format a zoned ISO 8601 datetime string using the Intl.DateTimeFormat implementation.formatZonedRange: Format a zoned datetime range using the Temporal Intl.DateTimeFormat formatRange API.formatZonedToParts: Return the locale-formatted parts of a ZonedDateTime.
getDstTransitions: List every DST transition instant for a time zone (an IANA name or a UTC offset) within a given year.getSystemTimeZone: Return the runtime system timeZone name (for example “Europe/London”).getTimeZoneOffset: Return a time zone’s UTC offset at a given instant.getTimeZones: Return the array of all available IANA timezone identifiers.getZonedAgo: Return the zoned datetime before now intimeZone, counted from the current time.getZonedDay: Return the current day of month for the specified IANA timeZone.getZonedDayOfWeek: Return the current day of week for the specified IANA timeZone.getZonedHour: Return the current hour for the specified IANA timeZone.getZonedIn: Return the zoned datetime after now intimeZone, counted from the current time.getZonedMicrosecond: Return the current microsecond for the specified IANA timeZone.getZonedMillisecond: Return the current millisecond for the specified IANA timeZone.getZonedMinute: Return the current minute for the specified IANA timeZone.getZonedMonth: Return the current month for the specified IANA timeZone.getZonedNanosecond: Return the current nanosecond for the specified IANA timeZone.getZonedNow: Return the current zoned datetime for the specified IANA timeZone.getZonedNowUnit: Return the requested current unit value for the specified IANA timeZone.getZonedSecond: Return the current second for the specified IANA timeZone.getZonedToday: Return today’s date in the given IANA timeZone as an ISO date string.getZonedWeekOfYear: Return the current week of year for the specified IANA timeZone.getZonedYear: Return the current year for the specified IANA timeZone.
intervalAbutsZoned: Return true when two half-open zoned intervals[start, end)are exactly adjacent — one ends at the instant the other starts, so they share no instant and leave no gap (Allen’s “meets”, either order).intervalContainsZoned: Return true whenpointOrStartfalls within the half-open interval[intervalStart, intervalEnd)(3-arg), or when the inner interval[innerStart, innerEnd)lies within the outer interval[intervalStart, intervalEnd)(4-arg).intervalCountZoned: Count how manyunitboundaries a zoned interval crosses.intervalDifferenceZoned: Return the portion(s) of the half-open interval A[aStart, aEnd)not covered by the half-open interval B[bStart, bEnd).intervalDivideEquallyZoned: Split a zoned interval intonequal-length sub-intervals.intervalEngulfsZoned: Return true when the half-open interval B[bStart, bEnd)lies within the half-open interval A[aStart, aEnd)— every instant of B falls within A.intervalFromDurationZoned: Construct a zoned interval from a single point plus an ISO 8601 duration, anchored at either end.intervalIntersectionZoned: Return the overlapping span of two half-open zoned intervals[start, end), or null when they do not overlap.intervalLengthZoned: Return the exact length of a zoned interval inunit, as a real (possibly fractional) number.intervalOverlappingDaysZoned: Return how many distinct calendar dates two zoned intervals share, counted in the first interval’s zone.intervalsOverlapZoned: Return true when the half-open intervals[aStart, aEnd)and[bStart, bEnd)share at least one instant.intervalSplitAtZoned: Split a zoned interval at arbitrarypoints, producing consecutive sub-intervals.intervalUnionZoned: Return the combined span of two half-open zoned intervals[start, end), or null when their union is not one non-empty span.intervalXorAllZoned: Return the symmetric difference across a list of zoned intervals — the set of instants covered by an odd number of the input intervals.intervalXorZoned: Return the symmetric difference of two half-open zoned intervals[start, end)— the instants covered by exactly one interval.isValidCalendarZonedInterval: Return true ifstartandendform a valid GMT zoned interval — both parseable as bare ISO or RFC 9557 calendar-annotated ZonedDateTime strings, and the instant atstartis <= the instant atend.isValidZonedInterval: Return true ifstartandendform a valid zoned interval — both valid ISO ZonedDateTime strings (isValidZonedDateTime) and the instant atstartis <= the instant atend.mergeIntervalsZoned: Collapse a list of zoned intervals into the minimum set of non-overlapping intervals.splitIntervalByUnitZoned: Split a zoned interval into sub-intervals ofamount × unit.
mapZonedDatesInRange: Return an array of plain ISO date strings covering the inclusive date range between two zoned datetimes.mapZonedHoursInDay: Return an array of zoned datetime strings representing each hour boundary of the anchor’s local day.
getZonedOffset: Extract the UTC offset from an ISO 8601 zoned datetime string.getZonedOffsetAs: Read a zoned value’s UTC offset as a number, in the given unit.parseDateFromZoned: Extract the plain date portion from an ISO 8601 zoned datetime string.parseDateTimeFromZoned: Parse a zoned datetime and return the plain local datetime portion as an ISO plain datetime string.parseDayFromZoned: Return the day (1-31) from a zoned datetime string.parseDayOfWeekFromZoned: Return the day of the week (1-7, Monday-Sunday) from a zoned datetime string.parseHourFromZoned: Return the hour (0-23) from a zoned datetime string.parseMicrosecondFromZoned: Return the microsecond (0-999) from a zoned datetime string.parseMillisecondFromZoned: Return the millisecond (0-999) from a zoned datetime string.parseMinuteFromZoned: Return the minute (0-59) from a zoned datetime string.parseMonthFromZoned: Return the month (1-12) from a zoned datetime string.parseNanosecondFromZoned: Return the nanosecond (0-999) from a zoned datetime string.parseRfc2822: Parse an RFC 5322 (RFC 2822) date-time string — the fixed grammar emailDate:headers use — into a zoned ISO 8601 datetime string.parseRfc3339: Parse a strict RFC 3339 datetime string into a zoned ISO 8601 datetime string.parseSecondFromZoned: Return the second (0-59) from a zoned datetime string.parseTimeFromZoned: Extract the plain time portion from an ISO 8601 zoned datetime string.parseTimeZoneFromZoned: Extract the IANA timeZone identifier from an ISO 8601 zoned datetime string.parseUnitFromZoned: Return the requested unit value from an ISO 8601 zoned datetime string.parseWeekFromZoned: Return the week of the year for a given ISO 8601 zoned datetime string.parseYearFromZoned: Return the year for a given ISO 8601 zoned datetime string.
hasDaylightSaving: Check whether a timeZone observes daylight saving time at a reference instant.isValidCalendarZonedDateTime: Return true ifvalueis a valid GMT ZonedDateTime string: a bare ISO zoned datetime (“2024-10-03T14:30:45+02:00[Africa/Johannesburg]”) or an RFC 9557 calendar-annotated one (“2024-10-03T14:30:45+02:00[Africa/Johannesburg][u-ca=hebrew]”), asTemporal.ZonedDateTime#toString()andconvertZonedToCalendarwrite it.isValidRfc2822DateTime: Return true whenvalueis a real RFC 5322 (RFC 2822) date-time: the date an emailDate:header carries, such asFri, 15 Mar 2024 14:30:00 -0400.isValidRfc3339DateTime: Return true whenvalueis a real RFC 3339 date-time: an ISO 8601 date and time that always states its UTC offset, asZor±HH:MM(RFC 3339 §5.6).isValidTimeZone: Validate whether a string is a valid time zone identifier: an IANA name or a UTC offset.isValidZonedDateTime: Validate whether a string is a valid ISO 8601 zoned datetime string.isValidZonedRange: Return true ifvalue1andvalue2form a valid zoned range — both parseable as ISO ZonedDateTime strings and the instant atvalue1is <= the instant atvalue2.
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.