> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# resolveTimezoneId()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/dashboard/dashboard.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Resolves a dashboard timezone value to a concrete IANA timezone ID: the [BROWSER\_DETECTED](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.browser_detected/index.md) sentinel resolves to the browser/runtime timezone, any other value is returned as-is.

This is the only supported way to turn [IDashboardTimezoneConfig.timezoneId](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardtimezoneconfig/index.md#idashboardtimezoneconfigtimezoneid) into a value usable in executions or exports — the sentinel must never leave the client unresolved.

**Signature:**

```typescript
export declare function resolveTimezoneId(timezoneId: DashboardTimezoneId | undefined): string | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| timezoneId | [DashboardTimezoneId](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboardtimezoneid/index.md) \| undefined | timezone value from the dashboard content |

**Returns:**

string &#124; undefined
