---
title: timeZone
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsdatecomponents/timezone
---

# timeZone

The time zone used to interpret the date components.

## Declaration

```swift
var timeZone: TimeZone? { get set }
```

## Discussion

Discussion See Calendars, Date Components, and Calendar Units in Date and Time Programming Guide.

## See Also

### Setting a Calendar and Time Zone

- [calendar](foundation/nsdatecomponents/calendar.md)
