---
title: narrow
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/date/formatstyle/symbol/hour/ampmstyle/narrow
---

# narrow

A type that specifies the narrow day period if the locale prefers using day period with hour.

## Declaration

```swift
static let narrow: Date.FormatStyle.Symbol.Hour.AMPMStyle
```

## Discussion

Discussion This type represents the hour period in a narrow format where appropriate. For example, when used with defaultDigits, this style may represent 8 a.m. as 8 or 8a, and 1 p.m. as 13, or 1p. With twoDigits, this style produces 08 or 08a, and 13 or 01p, respectively.

## See Also

### Creating AMPM Styles

- [abbreviated](foundation/date/formatstyle/symbol/hour/ampmstyle/abbreviated.md)
- [omitted](foundation/date/formatstyle/symbol/hour/ampmstyle/omitted.md)
- [wide](foundation/date/formatstyle/symbol/hour/ampmstyle/wide.md)
