---
title: calendarIdentifier
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nslocale/calendaridentifier
---

# calendarIdentifier

The calendar identifier for the locale.

## Declaration

```swift
var calendarIdentifier: String { get }
```

## Discussion

Discussion Possible values are listed in Calendar Identifiers. Use localizedString(forCalendarIdentifier:) to obtain a version of the value suitable for display to the user.

## See Also

### Getting Information About a Locale

- [localeIdentifier](foundation/nslocale/localeidentifier.md)
- [countryCode](foundation/nslocale/countrycode.md)
- [languageCode](foundation/nslocale/languagecode.md)
- [scriptCode](foundation/nslocale/scriptcode.md)
- [variantCode](foundation/nslocale/variantcode.md)
- [exemplarCharacterSet](foundation/nslocale/exemplarcharacterset.md)
- [collationIdentifier](foundation/nslocale/collationidentifier.md)
- [collatorIdentifier](foundation/nslocale/collatoridentifier.md)
- [usesMetricSystem](foundation/nslocale/usesmetricsystem.md)
- [decimalSeparator](foundation/nslocale/decimalseparator.md)
- [groupingSeparator](foundation/nslocale/groupingseparator.md)
- [currencyCode](foundation/nslocale/currencycode.md)
- [currencySymbol](foundation/nslocale/currencysymbol.md)
- [quotationBeginDelimiter](foundation/nslocale/quotationbegindelimiter.md)
- [quotationEndDelimiter](foundation/nslocale/quotationenddelimiter.md)
