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

# DateComponentsFormatter.UnitsStyle.short

A style that uses a shortened spelling for units.

## Declaration

```swift
case short
```

## Discussion

Discussion For example, the quantity of 3 years, 9 months, 26 days, 19 hours, and 17 seconds is displayed in the U.S. English locale as “3 yrs, 9 mths, 26 days, 19 hr, 17 sec”.

## 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.brief](foundation/datecomponentsformatter/unitsstyle-swift.enum/brief.md)
- [DateComponentsFormatter.UnitsStyle.abbreviated](foundation/datecomponentsformatter/unitsstyle-swift.enum/abbreviated.md)
- [DateComponentsFormatter.UnitsStyle.positional](foundation/datecomponentsformatter/unitsstyle-swift.enum/positional.md)
