unix
addUnix: Add a temporal amount to a Unix epoch value and return the resulting epoch.diffUnix: Return the difference between two Unix timestamps measured in the given unit.diffUnixAsDuration: Return the difference between two Unix timestamps as an ISO 8601 duration string, bridging to thedurationnamespace (seeparseDuration,normalizeDuration).endOfQuarterForUnix: Return the end of the quarter for a Unix timestamp.endOfUnix: Return the end of the specified unit for a Unix timestamp.isBetweenUnix: Return true when the Unix timestamp is between start and end (inclusive by default).maxUnix: Return the latest (maximum) of the given Unix timestamp values.minUnix: Return the earliest (minimum) of the given Unix timestamp values.roundUnix: Round a Unix timestamp to the specified unit.secondsUntilUnix: Return the whole seconds from now until a stored Unix epoch, such as a JWTexp.setUnix: Return a Unix epoch value with the givenfieldsset onvalue, interpreted intimeZone.sortUnix: Sort an array of Unix timestamp values in ascending or descending order.startOfQuarterForUnix: Return the start of the quarter for a Unix timestamp.startOfUnix: Return the start of the specified unit for a Unix timestamp.subtractUnix: Subtract a temporal amount from a Unix epoch value and return the resulting epoch.
areUnixEqual: Return whethervalue1andvalue2represent the same instant.areUnixEqualBy: Compare two Unix epoch values for equality at a given unit.isAfterUnix: Return whethervalue1represents an instant strictly aftervalue2.isBeforeUnix: Return whethervalue1represents an instant strictly beforevalue2.
convertUnixToPlainDate: Convert a Unix timestamp to a plain date string in the format “YYYY-MM-DD”.convertUnixToPlainDateTime: Convert a Unix timestamp to a plain datetime string in the format “YYYY-MM-DDTHH:mm:ss”.convertUnixToPlainTime: Convert a Unix timestamp to a plain time string in the format “HH:mm:ss”.convertUnixToUtc: Convert a unix epoch value to a UTC Instant ISO string.convertUnixToZoned: Convert a unix epoch value to a zoned ISO 8601 datetime string.
formatCalendarUnix: Format a unix epoch value as a relative day label plus time-of-day, e.g. “tomorrow at 14:30” — the unix counterpart offormatCalendar.formatRelativeUnix: Format the relative time between a unix epoch value and a reference instant.formatUnix: Format a unix epoch value (string or number) as a localized date/time string.
getUnixAgo: Return the Unix epoch before now, counted from the current time in UTC.getUnixDay: Return the current day from the Unix timestamp in UTC as a zero-padded string.getUnixHour: Return the current hour from the Unix timestamp in UTC as a zero-padded string.getUnixIn: Return the Unix epoch after now, counted from the current time in UTC.getUnixMicrosecond: Return the current microsecond from the Unix timestamp in UTC as a zero-padded string.getUnixMillisecond: Return the current millisecond from the Unix timestamp in UTC as a zero-padded string.getUnixMinute: Return the current minute from the Unix timestamp in UTC as a zero-padded string.getUnixMonth: Return the current month from the Unix timestamp in UTC as a zero-padded string.getUnixNanosecond: Return the current nanosecond from the Unix timestamp in UTC as a zero-padded string.getUnixNow: Return the current Unix timestamp in either seconds or milliseconds.getUnixNowUnit: Return the requested unit value from the current Unix timestamp in UTC.getUnixSecond: Return the current second from the Unix timestamp in UTC as a zero-padded string.getUnixYear: Return the current year from the Unix timestamp in UTC as a zero-padded string.
intervalAbutsUnix: Return true when two half-open Unix intervals[start, end)are exactly adjacent — one ends where the other starts, so they share no value and leave no gap (Allen’s “meets”, either order).intervalContainsUnix: 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).intervalCountUnix: Count how manyunitboundaries a Unix epoch interval crosses.intervalDifferenceUnix: Return the portion(s) of the half-open interval A[aStart, aEnd)not covered by the half-open interval B[bStart, bEnd).intervalDivideEquallyUnix: Split a Unix epoch interval intonequal-length sub-intervals.intervalEngulfsUnix: 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.intervalFromDurationUnix: Construct a Unix epoch interval from a single point plus an ISO 8601 duration, anchored at either end.intervalIntersectionUnix: Return the overlapping span of two half-open Unix epoch intervals[start, end), or null when they do not overlap.intervalLengthUnix: Return the exact length of a Unix epoch interval inunit, as a real (possibly fractional) number.intervalOverlappingDaysUnix: Return how many distinct calendar dates two Unix epoch intervals share, in a given time zone.intervalsOverlapUnix: Return true when the half-open intervals[aStart, aEnd)and[bStart, bEnd)share at least one instant.intervalSplitAtUnix: Split a Unix epoch interval at arbitrarypoints, producing consecutive sub-intervals.intervalUnionUnix: Return the combined span of two half-open Unix epoch intervals[start, end), or null when their union is not one non-empty span.intervalXorAllUnix: Return the symmetric difference across a list of Unix epoch intervals — the set of epoch values covered by an odd number of the input intervals.intervalXorUnix: Return the symmetric difference of two half-open Unix intervals[start, end)— the values covered by exactly one interval.isValidUnixInterval: Return true ifstartandendform a valid Unix interval — both safe-integer epochs andstart <= end.mergeIntervalsUnix: Collapse a list of Unix epoch intervals into the minimum set of non-overlapping intervals.splitIntervalByUnitUnix: Split a Unix epoch interval into sub-intervals ofamount × unit.
parseDateFromUnix: Extract the date portion from a unix epoch value.parseDayFromUnix: Return the day of month (1-31) from a unix epoch value.parseDayOfWeekFromUnix: Return the day of week (1-7) from a unix epoch value.parseHourFromUnix: Return the hour (0-23) from a unix epoch value.parseMicrosecondFromUnix: Return the microsecond (0-999) from a unix epoch value.parseMillisecondFromUnix: Return the millisecond (0-999) from a unix epoch value.parseMinuteFromUnix: Return the minute (0-59) from a unix epoch value.parseMonthFromUnix: Return the month (1-12) from a unix epoch value.parseNanosecondFromUnix: Return the nanosecond (0-999) from a unix epoch value.parseSecondFromUnix: Return the second (0-59) from a unix epoch value.parseTimeFromUnix: Extract the time portion from a unix epoch value.parseUnitFromUnix: Extract a unit from a unix epoch value.parseWeekFromUnix: Return the week number from a unix epoch value.parseYearFromUnix: Return the year from a unix epoch value.
isValidUnixMilliseconds: Return true whentimestampis a Unix milliseconds value everyunix/function accepts.isValidUnixRange: Return true ifvalue1andvalue2form a valid Unix range — both safe-integer epochs andvalue1 < value2(or<=withallowEqual).isValidUnixSeconds: Return true whentimestampis a Unix seconds value everyunix/function accepts.isValidUnixUnit: Return true whenunitis a valid UnixUnit.
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.