> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# UsTimeZones

> The IANA time zone of a US address, by state and, where a state is split, zip code.

```csharp
public static class UsTimeZones
```

## Methods

### Of()

```csharp
public static string? Of(string? state, string? zip, string? country = null)
```

The address's time zone. `country` is an ISO 3166-1 code, `US` or `USA`; any other country has none.

#### Parameters

**state** `string` *required*

The two-letter USPS state code.

**zip** `string` *required*

The zip code, five digits or ZIP+4.

**country** `string`

The ISO 3166-1 country code, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for none.

#### Returns

`string`

The address's IANA time zone, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for an address outside the US or with no state code known.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.