<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFTimeZoneCopyDefault()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFTimeZoneCopyDefault"
  },
  "title" : "CFTimeZoneCopyDefault()"
}
-->

# CFTimeZoneCopyDefault()

Returns the default time zone set for your application.

```
func CFTimeZoneCopyDefault() -> CFTimeZone!
```

## Return Value

A time zone representing the default time zone set for your application, or the system time zone if no default is set. Ownership follows the [The Create Rule](https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-103029).

## Discussion

If no default time zone is set, this function simply returns the result of the [`CFTimeZoneCopySystem()`](/documentation/CoreFoundation/CFTimeZoneCopySystem()) function.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)