---
title: "CFCalendarGetIdentifier(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcalendargetidentifier(_:)"
---

# CFCalendarGetIdentifier(_:)

Returns the given calendar’s identifier.

## Declaration

```swift
func CFCalendarGetIdentifier(_ calendar: CFCalendar!) -> CFCalendarIdentifier!
```

## Parameters

- `calendar`: The calendar to examine.

## Return Value

Return Value A string representation of calendar’s identifier. Calendar identifier constants can be found in CFLocale. Ownership follows the The Get Rule.
