---
title: timeStyle
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/dateformatter/timestyle
---

# timeStyle

The time style of the receiver.

## Declaration

```swift
var timeStyle: DateFormatter.Style { get set }
```

## See Also

### Managing Formats and Styles

- [dateStyle](foundation/dateformatter/datestyle.md)
- [dateFormat](foundation/dateformatter/dateformat.md)
- [setLocalizedDateFormatFromTemplate(_:)](foundation/dateformatter/setlocalizeddateformatfromtemplate(_:).md)
- [dateFormat(fromTemplate:options:locale:)](foundation/dateformatter/dateformat(fromtemplate:options:locale:).md)
- [formattingContext](foundation/dateformatter/formattingcontext.md)
