# duration/format

Industry: Core

- [`formatDuration`](/gmt/reference/duration/format/formatDuration/): Render an ISO 8601 duration string as a locale-aware, human-readable string.
- [`formatHumanDuration`](/gmt/reference/duration/format/formatHumanDuration/): Write an ISO 8601 duration in the compact form `parseHumanDuration` reads, such as `2h 30m`.

## Types

- [`FormatDurationOptions`](/gmt/reference/duration/format/formatDuration/#formatdurationoptions): How `formatDuration` writes unit names, and whether it writes zero components.
