Type Method


Clears any time zone value cached for the system property.


class func resetSystemTimeZone()


If the app has cached the system time zone by accessing the system class property, this method clears that cached value. If you subsequently access the system class property, a new time zone object is created and cached.

See Also

Working with System Time Zones

class var local: TimeZone

An object that tracks the current system time zone.

class var system: TimeZone

The time zone currently used by the system.

class var `default`: TimeZone

The default time zone for the current app.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software