---
title: CFCalendarCopyCurrent()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfcalendarcopycurrent()
---

# CFCalendarCopyCurrent()

Returns a copy of the logical calendar for the current user.

## Declaration

```swift
func CFCalendarCopyCurrent() -> CFCalendar!
```

## Return Value

Return Value The logical calendar for the current user that is formed from the settings for the current user’s chosen system locale overlaid with any custom settings the user has specified in System Preferences. This function may return a retained cached object, not a new object. Ownership follows the The Create Rule.

## Discussion

Discussion Settings you get from this calendar do not change if user defaults change so that your operations are consistent. Typically you perform some operations on the returned object and then release it. The returned object may be cached, so you do not need to hold on to it indefinitely.

## See Also

### Creating a Calendar

- [CFCalendarCreateWithIdentifier(_:_:)](corefoundation/cfcalendarcreatewithidentifier(_:_:).md)
