Skip to content

Type Property

abbreviated

iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0+ macOS 12.0+ tvOS 15.0+ watchOS 8.0+
Abbreviated day period if the locale prefers using day period with hour. For example, 8, 8 AM, 13, 1 PM if used with defaultDigits. Or 08, 08 AM, 13, 01 PM if used with twoDigits.
static let abbreviated: Date.FormatStyle.Symbol.Hour.AMPMStyle