<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/ISO8601DateFormatter/Options",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSISO8601DateFormatOptions"
  },
  "title" : "ISO8601DateFormatter.Options"
}
-->

# ISO8601DateFormatter.Options

Options used to generate and parse ISO 8601 date representations.

```
struct Options
```

## Topics

### Constants

[`NSISO8601DateFormatWithYear`](/documentation/Foundation/ISO8601DateFormatter/Options/withYear)

[`NSISO8601DateFormatWithMonth`](/documentation/Foundation/ISO8601DateFormatter/Options/withMonth)

[`NSISO8601DateFormatWithWeekOfYear`](/documentation/Foundation/ISO8601DateFormatter/Options/withWeekOfYear)

[`NSISO8601DateFormatWithDay`](/documentation/Foundation/ISO8601DateFormatter/Options/withDay)

[`NSISO8601DateFormatWithTime`](/documentation/Foundation/ISO8601DateFormatter/Options/withTime)

[`NSISO8601DateFormatWithTimeZone`](/documentation/Foundation/ISO8601DateFormatter/Options/withTimeZone)

[`NSISO8601DateFormatWithSpaceBetweenDateAndTime`](/documentation/Foundation/ISO8601DateFormatter/Options/withSpaceBetweenDateAndTime)

[`NSISO8601DateFormatWithDashSeparatorInDate`](/documentation/Foundation/ISO8601DateFormatter/Options/withDashSeparatorInDate)

[`NSISO8601DateFormatWithColonSeparatorInTime`](/documentation/Foundation/ISO8601DateFormatter/Options/withColonSeparatorInTime)

[`NSISO8601DateFormatWithColonSeparatorInTimeZone`](/documentation/Foundation/ISO8601DateFormatter/Options/withColonSeparatorInTimeZone)

[`NSISO8601DateFormatWithFullDate`](/documentation/Foundation/ISO8601DateFormatter/Options/withFullDate)

[`NSISO8601DateFormatWithFullTime`](/documentation/Foundation/ISO8601DateFormatter/Options/withFullTime)

[`NSISO8601DateFormatWithInternetDateTime`](/documentation/Foundation/ISO8601DateFormatter/Options/withInternetDateTime)

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`OptionSet`](/documentation/Swift/OptionSet)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)