---
title: month()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/datecomponents/iso8601formatstyle/month()
---

# month()

## Declaration

```swift
func month() -> DateComponents.ISO8601FormatStyle
```
