Delen via


Calendar.GetTimeZone Method

Definition

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

public:
 virtual Platform::String ^ GetTimeZone() = GetTimeZone;
winrt::hstring GetTimeZone();
public string GetTimeZone();
function getTimeZone()
Public Function GetTimeZone () As String

Returns

String

Platform::String

winrt::hstring

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.)

Applies to

See also