---
title: knownTimeZoneNames
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nstimezone/knowntimezonenames
---

# knownTimeZoneNames

Returns an array of strings listing the IDs of all the time zones known to the system.

## Declaration

```swift
class var knownTimeZoneNames: [String] { get }
```

## Return Value

Return Value An array of strings listing the IDs of all the time zones known to the system.

## Discussion

Discussion An array of strings listing the IDs of all the time zones known to the system.

## See Also

### Creating Time Zones

- [init(name:)](foundation/nstimezone/init(name:).md)
- [init(name:data:)](foundation/nstimezone/init(name:data:).md)
- [init(abbreviation:)](foundation/nstimezone/init(abbreviation:).md)
- [init(forSecondsFromGMT:)](foundation/nstimezone/init(forsecondsfromgmt:).md)
- [abbreviationDictionary](foundation/nstimezone/abbreviationdictionary.md)
