---
title: iso8601
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/parsestrategy/iso8601-8z0au
---

# iso8601

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

## Declaration

```swift
static var iso8601: Date.ISO8601FormatStyle { get }
```

## Discussion

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.
