# getSystemTimeZone

Industry: Core

## Signature

```ts
getSystemTimeZone(): string
```

Return the runtime system timeZone name (for example "Europe/London").

- Uses Intl.DateTimeFormat().resolvedOptions().timeZone to get system timezone.
- Returns "" when the host reports no usable time zone. With an empty `TZ` the runtime reports ICU's placeholder `"Etc/Unknown"`, and with an unrecognised `TZ` it reports `undefined`; neither is a zone that Temporal or `Intl.DateTimeFormat` accepts.

## Returns

system timeZone name or "" on failure

## Examples

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

getSystemTimeZone() // "Europe/London"
```

## Source

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