---
title: "genericName(_:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/date/formatstyle/symbol/timezone/genericname(_:)"
---

# genericName(_:)

Returns the generic, non-location representation of a timezone.

## Declaration

```swift
static func genericName(_ width: Date.FormatStyle.Symbol.TimeZone.Width) -> Date.FormatStyle.Symbol.TimeZone
```

## Parameters

- `width`: Specifies the width of the string result.

## Return Value

Return Value A timezone format style appropriate for the locale and specified width.

## Discussion

Discussion The value falls back to the value of localizedGMT(_:) with a short width if unavailable. For example, PT (Date.FormatStyle.Symbol.TimeZone.Width.short) or Pacific Time (Date.FormatStyle.Symbol.TimeZone.Width.long).

## See Also

### Modifying a Time Zone

- [specificName(_:)](foundation/date/formatstyle/symbol/timezone/specificname(_:).md)
- [iso8601(_:)](foundation/date/formatstyle/symbol/timezone/iso8601(_:).md)
- [localizedGMT(_:)](foundation/date/formatstyle/symbol/timezone/localizedgmt(_:).md)
- [identifier(_:)](foundation/date/formatstyle/symbol/timezone/identifier(_:).md)
- [exemplarLocation](foundation/date/formatstyle/symbol/timezone/exemplarlocation.md)
- [genericLocation](foundation/date/formatstyle/symbol/timezone/genericlocation.md)
