Skip to content
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 the duration namespace (see parseDuration, normalizeDuration).
endOfQuarterForUtc: Return the end of the quarter for a given UTC Instant string.
endOfUtc: Return the end of the specified date-time unit for a given UTC datetime string.
isBetweenUtc: Return true when value is between start and end (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.
setUtc: Return a UTC Instant string with the given fields set on value.
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-time unit for a given UTC datetime string.
subtractUtc: Subtract a temporal amount from a UTC datetime string and return a new UTC Instant string.