Instance Property

abbreviation

The abbreviation for the receiver, such as “EDT” (Eastern Daylight Time).

Declaration

var abbreviation: String? { get }

Discussion

Invokes abbreviation(for:) with the current date as the argument.

See Also

Getting Time Zone Information

var name: String

The geopolitical region ID that identifies the receiver.

func abbreviation(for: Date) -> String?

Returns the abbreviation for the receiver at a given date.

var secondsFromGMT: Int

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

func secondsFromGMT(for: Date) -> Int

Returns the difference in seconds between the receiver and Greenwich Mean Time at a given date.

var data: Data

The data that stores the information used by the receiver.

class var timeZoneDataVersion: String

Returns the time zone data version.

enum NSTimeZone.NameStyle

Constants you use to specify a style when presenting time zone names.