Instance Property

identifier

The geopolitical region identifier that identifies the time zone.

Declaration

var identifier: String { get }

See Also

Getting Time Zone Information

func abbreviation(for: Date) -> String?

Returns the abbreviation for the time zone at a given date.

func secondsFromGMT(for: Date) -> Int

The current difference in seconds between the time zone and Greenwich Mean Time.

static var timeZoneDataVersion: String

Returns the time zone data version.