---
title: "timeZone(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/date/intervalformatstyle/timezone(_:)"
---

# timeZone(_:)

Modifies the date interval format style to use the specified time zone format.

## Declaration

```swift
func timeZone(_ format: Date.IntervalFormatStyle.Symbol.TimeZone = .genericName(.short)) -> Date.IntervalFormatStyle
```

## Parameters

- `format`: The time zone format style for formatting a date interval.

## Return Value

Return Value A date interval format style with the provided time zone format.

## See Also

### Specifying Date Interval Format Styles

- [locale(_:)](foundation/date/intervalformatstyle/locale(_:).md)
- [calendar](foundation/date/intervalformatstyle/calendar.md)
- [locale](foundation/date/intervalformatstyle/locale.md)
- [timeZone](foundation/date/intervalformatstyle/timezone.md)
