---
title: Date.FormatStyle.Symbol.Hour.AMPMStyle
framework: foundation
role: symbol
role_heading: Structure
path: foundation/date/formatstyle/symbol/hour/ampmstyle
---

# Date.FormatStyle.Symbol.Hour.AMPMStyle

The format style of the string representation of the day period, before or after noon, in a date.

## Declaration

```swift
struct AMPMStyle
```

## Overview

Overview Possible values for this style are: omitted, narrow, abbreviated, and wide.

## Topics

### Creating AMPM Styles

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

### Comparing AMPM Styles

- [==(_:_:)](foundation/date/==(_:_:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
