Skip to content

Instance MethodFoundationInternationalization

minute(_:)

iOS 18.0+ iPadOS 18.0+ Mac Catalyst 18.0+ macOS 15.0+ tvOS 18.0+ watchOS 11.0+
Change the representation of the minute in the format.
func minute(_ format: Date.FormatStyle.Symbol.Minute = .defaultDigits) -> Date.FormatStyle.Attributed

Parameters

format

Set the symbol representation or pass nil to remove it.