# unix/format

Industry: Core

- [`formatCalendarUnix`](/gmt/reference/unix/format/formatCalendarUnix/): Format a unix epoch value as a relative day label plus time-of-day, e.g. "tomorrow at 14:30" — the unix counterpart of `formatCalendar`.
- [`formatRelativeUnix`](/gmt/reference/unix/format/formatRelativeUnix/): Format the relative time between a unix epoch value and a reference instant.
- [`formatUnix`](/gmt/reference/unix/format/formatUnix/): Format a unix epoch value (string or number) as a localized date/time string.

## Types

- [`FormatCalendarUnixOptions`](/gmt/reference/unix/format/formatCalendarUnix/#formatcalendarunixoptions): Options for `formatCalendarUnix`.
- [`FormatRelativeUnixOptions`](/gmt/reference/unix/format/formatRelativeUnix/#formatrelativeunixoptions): Options for `formatRelativeUnix`: the wording of the phrase, the unit and rounding of the distance, and the reference instant, epoch unit and time zone the distance is measured with.
- [`FormatUnixOptions`](/gmt/reference/unix/format/formatUnix/#formatunixoptions): Options for `formatUnix`: every `Intl.DateTimeFormatOptions` field, plus the epoch unit, the time zone the value is rendered in and whether the zone name is shown.
