Calendar.GetTimeZone Calendar.GetTimeZone Calendar.GetTimeZone Calendar.GetTimeZone Calendar.GetTimeZone Method

Definition

Gets the identifier that identifies the time zone that is used by this Calendar object.

public : Platform::String GetTimeZone()
winrt::hstring GetTimeZone() const;
public string GetTimeZone()
Public Function GetTimeZone() As string
var string = calendar.getTimeZone();

Returns

string string string

The identifier from the IANA Time Zone Database that identifies the time zone that is used by this Calendar object. (An example is "America/Los_Angeles" for Pacific Time.)