TimeZoneInfo.GetUtcOffset Method

Calculates the offset or difference between the time in this time zone and Coordinated Universal Time (UTC) for a particular date and time.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetUtcOffset(DateTime) Calculates the offset or difference between the time in this time zone and Coordinated Universal Time (UTC) for a particular date and time.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetUtcOffset(DateTimeOffset) Calculates the offset or difference between the time in this time zone and Coordinated Universal Time (UTC) for a particular date and time.
Top

Version Notes

XNA Framework

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

Ajouts de la communauté

AJOUTER
Afficher: