Skip to content

Type Property

omitted

iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0+ macOS 12.0+ tvOS 15.0+ watchOS 8.0+
Hides the day period marker (AM/PM). For example, 8 (for 8 in the morning), 1 (for 1 in the afternoon) if used with defaultDigits. Or 08, 01 if used with twoDigits.
static let omitted: Date.FormatStyle.Symbol.Hour.AMPMStyle