## getSchedulingTimezone() function

Resolves the timezone used by scheduling in server priority order: the Schedule's parameters for the service, then the service's own parameters, then the actor's standard FHIR timezone extension.

**Signature:**

```typescript
export declare function getSchedulingTimezone(service: WithId<HealthcareService>, schedule?: Schedule, actor?: Resource): string | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| service | [WithId](/content/docs/sdk/core.withid) <HealthcareService> | HealthcareService whose parameters may define a timezone |
| schedule | Schedule | _(Optional)_ Schedule whose parameters may define a timezone. Omit to resolve the service's own timezone, as when the service default hours are being read on their own rather than through a particular calendar. |
| actor | Resource | _(Optional)_ Optional Schedule actor used as a timezone fallback |

**Returns:**

string | undefined

The resolved IANA timezone identifier, if present

- [getSchedulingTimezone() function](/content/docs/sdk/core.getschedulingtimezone#getschedulingtimezone-function/index.html)
- [Parameters](/content/docs/sdk/core.getschedulingtimezone#parameters/index.html)
