Contents

iso8601

A style for formatting a date in accordance with the ISO-8601 standard.

Declaration

static var iso8601: Date.ISO8601FormatStyle { get }

Discussion

Use the dot-notation form of this type property when the call point allows the use of Date.ISO8601FormatStyle; in other words, when the value type is Date. Typically, you use this with the formatted(_:) method of Date.