<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSTimeZone/default",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTimeZone(cpy)defaultTimeZone"
  },
  "title" : "default"
}
-->

# default

The default time zone for the current app.

```
class var `default`: TimeZone { get set }
```

## Discussion

If no [`default`](/documentation/Foundation/NSTimeZone/default) time zone has been set, the current system time zone is used. If the current system time zone cannot be determined, the GMT time zone is used instead.

The [`default`](/documentation/Foundation/NSTimeZone/default) time zone is used by the app for date and time operations. You can set it to cause the app to run as if it were in a different time zone. Setting the [`default`](/documentation/Foundation/NSTimeZone/default) property clears any value that was previously set.

If you access the [`default`](/documentation/Foundation/NSTimeZone/default) class property, assign its value to a variable, and set a new [`default`](/documentation/Foundation/NSTimeZone/default) time zone, the object stored in the variable doesn’t update to reflect the new [`default`](/documentation/Foundation/NSTimeZone/default) time zone. Contrast this behavior with that of the [`local`](/documentation/Foundation/NSTimeZone/local) class property, which returns a proxy object that always reflects the current system time zone.

---

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)