Skip to content

Type Property_StringProcessing

iso8601

iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
Creates a regex component to match an ISO 8601 date and time, such as “2015-11-14’T’15:05:03’Z’”, and capture the string as a Date using the time zone as specified in the string.
static var iso8601: Date.ISO8601FormatStyle { get }