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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for