---
title: "CFCalendarSetTimeZone(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcalendarsettimezone(_:_:)"
---

# CFCalendarSetTimeZone(_:_:)

Sets the time zone for a calendar.

## Declaration

```swift
func CFCalendarSetTimeZone(_ calendar: CFCalendar!, _ tz: CFTimeZone!)
```

## Parameters

- `calendar`: The calendar to modify.
- `tz`: The time zone to set for calendar.

## See Also

### Getting and Setting the Time Zone

- [CFCalendarCopyTimeZone(_:)](corefoundation/cfcalendarcopytimezone(_:).md)
