utc/calculate
addUtc: Add a temporal amount to a UTC datetime string and return a new UTC Instant string.diffUtc: Return the difference between two UTC datetimes measured in the given date-time unit.diffUtcAsDuration: Return the difference between two UTC datetimes as an ISO 8601 duration string, bridging to thedurationnamespace (seeparseDuration,normalizeDuration).endOfQuarterForUtc: Return the end of the quarter for a given UTC Instant string.endOfUtc: Return the end of the specified date-timeunitfor a given UTC datetime string.isBetweenUtc: Return true whenvalueis betweenstartandend(inclusive by default).maxUtc: Return the latest (maximum) of the given UTC datetime values.minUtc: Return the earliest (minimum) of the given UTC datetime values.roundUtc: Round a UTC datetime string to the specified unit.secondsUntilHttpDate: Return the whole seconds from now until an HTTP header date, such asExpires.secondsUntilRetryAfter: Return the whole seconds to wait from aRetry-Afterheader value.setUtc: Return a UTC Instant string with the givenfieldsset onvalue.sortUtc: Sort an array of UTC datetime values in ascending or descending order.startOfQuarterForUtc: Return the start of the quarter for a given UTC datetime string.startOfUtc: Return the start of the specified date-timeunitfor a given UTC datetime string.subtractUtc: Subtract a temporal amount from a UTC datetime string and return a new UTC Instant string.
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.