---
title: calendarUnits
framework: clockkit
role: symbol
role_heading: Instance Property
path: clockkit/clkdatetextprovider/calendarunits
---

# calendarUnits

The calendar units to include in the formatted string.

## Declaration

```swift
var calendarUnits: NSCalendar.Unit { get set }
```

## Discussion

Discussion For a list of supported calendar units, see Date Format Options.

## See Also

### Getting the Date Information

- [date](clockkit/clkdatetextprovider/date.md)
- [timeZone](clockkit/clkdatetextprovider/timezone.md)
- [uppercase](clockkit/clkdatetextprovider/uppercase.md)
