# getTimeZones

Industry: Core

## Signature

```ts
getTimeZones(): string[]
```

Return the array of all available IANA timezone identifiers.

- Uses `Intl.supportedValuesOf('timeZone')` to get the full list.
- Returns `[]` when the API is unavailable (older runtimes).

## Returns

array of IANA timezone identifier strings, or `[]` on failure

## Examples

```ts
import { getTimeZones } from "@northguild/gmt/zoned/get";

getTimeZones() // ["Africa/Abidjan", "Africa/Accra", ...]
```

## Source

[zoned/get/getTimeZones.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/zoned/get/getTimeZones.ts)
