---
title: ISO8601DateFormatter.Options
framework: foundation
role: symbol
role_heading: Structure
path: foundation/iso8601dateformatter/options
---

# ISO8601DateFormatter.Options

Options used to generate and parse ISO 8601 date representations.

## Declaration

```swift
struct Options
```

## Topics

### Constants

- [withYear](foundation/iso8601dateformatter/options/withyear.md)
- [withMonth](foundation/iso8601dateformatter/options/withmonth.md)
- [withWeekOfYear](foundation/iso8601dateformatter/options/withweekofyear.md)
- [withDay](foundation/iso8601dateformatter/options/withday.md)
- [withTime](foundation/iso8601dateformatter/options/withtime.md)
- [withTimeZone](foundation/iso8601dateformatter/options/withtimezone.md)
- [withSpaceBetweenDateAndTime](foundation/iso8601dateformatter/options/withspacebetweendateandtime.md)
- [withDashSeparatorInDate](foundation/iso8601dateformatter/options/withdashseparatorindate.md)
- [withColonSeparatorInTime](foundation/iso8601dateformatter/options/withcolonseparatorintime.md)
- [withColonSeparatorInTimeZone](foundation/iso8601dateformatter/options/withcolonseparatorintimezone.md)
- [withFullDate](foundation/iso8601dateformatter/options/withfulldate.md)
- [withFullTime](foundation/iso8601dateformatter/options/withfulltime.md)
- [withInternetDateTime](foundation/iso8601dateformatter/options/withinternetdatetime.md)

### Initializers

- [init(rawValue:)](foundation/iso8601dateformatter/options/init(rawvalue:).md)

### Type Properties

- [withFractionalSeconds](foundation/iso8601dateformatter/options/withfractionalseconds.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)
