Calendar.ChangeTimeZone(String) Calendar.ChangeTimeZone(String) Calendar.ChangeTimeZone(String) Calendar.ChangeTimeZone(String) Calendar.ChangeTimeZone(String) Method

Definition

Sets a new time zone to be used by this Calendar object.

public : void ChangeTimeZone(Platform::String timeZoneId)
void ChangeTimeZone(winrt::hstring timeZoneId) const;
public void ChangeTimeZone(String timeZoneId)
Public Sub ChangeTimeZone(timeZoneId As String)
calendar.changeTimeZone(timeZoneId);

Parameters

timeZoneId
String String String

An identifier from the IANA Time Zone Database which identifies the time zone that should be used (for example, "America/Los_Angeles" for Pacific Time).

Remarks

The values of other properties of this Calendar object may change as a result.