TimeZoneInfo.ConvertTime Method

July 28, 2014

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.

  NameDescription
Public method Static member ConvertTime(DateTime, TimeZoneInfo) Converts a time to the time in a particular time zone.
Public method Static member ConvertTime(DateTimeOffset, TimeZoneInfo) Converts a time to the time in a particular time zone.
Top

Version Notes

XNA Framework

 When any of these method overloads is used in the XNA Framework, it throws a NotSupportedException exception.

Show:
© 2014 Microsoft