---
title: calendar
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nscalendar/unit/calendar
---

# calendar

Identifier for the calendar of a date components object.

## Declaration

```swift
static var calendar: NSCalendar.Unit { get }
```

## Discussion

Discussion The corresponding value is an NSCalendar.

## See Also

### Specifying Calendars and Time Zones

- [timeZone](foundation/nscalendar/unit/timezone.md)
