# DateTimeFormatOptions

Industry: Core

Options accepted by date/time formatting functions that delegate to `Intl.DateTimeFormat` (via Temporal's `.toLocaleString()` or `TemporalIntl.DateTimeFormat`).

```ts
import type { DateTimeFormatOptions } from "@northguild/gmt";
```

## Definition

```ts
type DateTimeFormatOptions = Intl.DateTimeFormatOptions;
```

## Used by

- [`formatDate`](/gmt/reference/plain/format/formatDate/)
- [`formatDateRange`](/gmt/reference/plain/format/formatDateRange/)
- [`formatDateTime`](/gmt/reference/plain/format/formatDateTime/)
- [`formatDateTimeRange`](/gmt/reference/plain/format/formatDateTimeRange/)
- [`formatDateTimeToParts`](/gmt/reference/plain/format/formatDateTimeToParts/)
- [`formatDateToParts`](/gmt/reference/plain/format/formatDateToParts/)
- [`formatMonthDay`](/gmt/reference/plain/format/formatMonthDay/)
- [`formatTime`](/gmt/reference/plain/format/formatTime/)
- [`formatYearMonth`](/gmt/reference/plain/format/formatYearMonth/)
- [`formatZonedDateTime`](/gmt/reference/zoned/format/formatZonedDateTime/)
- [`formatZonedRange`](/gmt/reference/zoned/format/formatZonedRange/)
- [`formatZonedToParts`](/gmt/reference/zoned/format/formatZonedToParts/)

## Source

[types/datetime-format-options.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/datetime-format-options.ts)
