---
title: month
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/datecomponents/month
---

# month

A month or count of months.

## Declaration

```swift
var month: Int? { get set }
```

## Discussion

Discussion note: This value is interpreted in the context of the calendar in which it is used.

## See Also

### Accessing Months and Years

- [era](foundation/datecomponents/era.md)
- [year](foundation/datecomponents/year.md)
- [yearForWeekOfYear](foundation/datecomponents/yearforweekofyear.md)
- [quarter](foundation/datecomponents/quarter.md)
- [isLeapMonth](foundation/datecomponents/isleapmonth.md)
