-api-id | -api-type |
---|---|
M:Windows.Globalization.Calendar.ChangeTimeZone(System.String) |
winrt method |
Sets a new time zone to be used by this Calendar object.
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).
The values of other properties of this Calendar object may change as a result.
Calendar, date, and time controls, Calendar sample, Date and time formatting sample