---
title: "CFTimeZoneGetData(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cftimezonegetdata(_:)"
---

# CFTimeZoneGetData(_:)

Returns the data that stores the information used by a time zone.

## Declaration

```swift
func CFTimeZoneGetData(_ tz: CFTimeZone!) -> CFData!
```

## Parameters

- `tz`: The time zone to analyze.

## Return Value

Return Value The data used to store tz. Ownership follows the The Get Rule. May be NULL if the timezone does not have any data or use Olson data for its information.

## See Also

### Getting Information About Time Zones

- [CFTimeZoneGetName(_:)](corefoundation/cftimezonegetname(_:).md)
- [CFTimeZoneCopyLocalizedName(_:_:_:)](corefoundation/cftimezonecopylocalizedname(_:_:_:).md)
- [CFTimeZoneGetSecondsFromGMT(_:_:)](corefoundation/cftimezonegetsecondsfromgmt(_:_:).md)
