---
title: withMonth
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/iso8601dateformatter/options/withmonth
---

# withMonth

## Declaration

```swift
static var withMonth: ISO8601DateFormatter.Options { get }
```

## Discussion

Discussion The date representation includes the month. The format for month is MM.

## See Also

### Constants

- [withYear](foundation/iso8601dateformatter/options/withyear.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)
