Calendar.ChangeTimeZone(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual void ChangeTimeZone(Platform::String ^ timeZoneId) = ChangeTimeZone;
void ChangeTimeZone(winrt::hstring const& timeZoneId);
public void ChangeTimeZone(string timeZoneId);
function changeTimeZone(timeZoneId)
Public Sub ChangeTimeZone (timeZoneId As String)
Parameters
- timeZoneId
-
String
Platform::String
winrt::hstring
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.