TimeZoneInfo.ConvertTime Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Converts a time to the time in a particular time zone.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ConvertTime(DateTime, TimeZoneInfo) | Converts a time to the time in a particular time zone. |
|
ConvertTime(DateTimeOffset, TimeZoneInfo) | Converts a time to the time in a particular time zone. |
Version Notes
XNA Framework
When any of these method overloads is used in the XNA Framework, it throws a NotSupportedException exception.
Show: