---
title: DateComponentsFormatter.UnitsStyle.positional
framework: foundation
role: symbol
role_heading: Case
path: foundation/datecomponentsformatter/unitsstyle-swift.enum/positional
---

# DateComponentsFormatter.UnitsStyle.positional

A style that uses the position of a unit of time to identify its value.

## Declaration

```swift
case positional
```

## Discussion

Discussion This style is most commonly used for time values where the hour, minute, and second values are separated by colons. You can use the zero formatting behaviors (DateComponentsFormatter.ZeroFormattingBehavior) to further modify the formatting of this value. For example, one hour and ten minutes is displayed in the U.S. English locale as “1:10:00”. note: This style may fall back to the behavior of DateComponentsFormatter.UnitsStyle.abbreviated when attempting to display large time quantities.

## See Also

### Styles

- [DateComponentsFormatter.UnitsStyle.spellOut](foundation/datecomponentsformatter/unitsstyle-swift.enum/spellout.md)
- [DateComponentsFormatter.UnitsStyle.full](foundation/datecomponentsformatter/unitsstyle-swift.enum/full.md)
- [DateComponentsFormatter.UnitsStyle.short](foundation/datecomponentsformatter/unitsstyle-swift.enum/short.md)
- [DateComponentsFormatter.UnitsStyle.brief](foundation/datecomponentsformatter/unitsstyle-swift.enum/brief.md)
- [DateComponentsFormatter.UnitsStyle.abbreviated](foundation/datecomponentsformatter/unitsstyle-swift.enum/abbreviated.md)
