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

# timeZone

The time zone used by the locale.

## Declaration

```swift
var timeZone: TimeZone?
```

## Discussion

Discussion Set this value to specify a time zone associated with the locale. This property corresponds to the tz key of the Unicode BCP 47 extension.

## See Also

### Specifying date and time components

- [calendar](foundation/locale/components/calendar.md)
- [Calendar.Identifier](foundation/calendar/identifier-swift.enum.md)
- [firstDayOfWeek](foundation/locale/components/firstdayofweek.md)
- [Locale.Weekday](foundation/locale/weekday.md)
- [hourCycle](foundation/locale/components/hourcycle.md)
- [Locale.HourCycle](foundation/locale/hourcycle-swift.enum.md)
