The TimeZoneInfo type exposes the following members.

Methods

  Name Description
Public method Static member GetTimeZone
Returns a TimeZoneInfo instance for the time zone with supplied name.
Public method ToLocalTime
Converts the value of the utc time to a local time in this time zone.
Public method ToString
Gets display name of this time zone instance.
(Overrides Object..::..ToString()()()().)
Public method ToUniversalTime
Converts the value of the local time to UTC time. Note that there may be different possible interpretations at the daylight time boundaries.

Properties

  Name Description
Public property Static member CurrentTimeZone
Gets the current time zone information.
Public property DaylightBias
Gets the difference, in minutes, between UTC and local time (in daylight savings time). UTC = local time + bias.
Public property DaylightName
The time zone's name during daylight savings time (DST).
Public property DaylightOffset
Gets the daylight offset from UTC as a TimeSpan.
Public property DisplayName
The time zone's display name (e.g. '(GMT-05:00) Eastern Time (US and Canada)').
Public property StandardBias
Gets the difference, in minutes, between UTC and local time. UTC = local time + bias.
Public property StandardName
The time zone's name during 'standard' time (i.e. not daylight savings).
Public property StandardOffset
Gets the standard offset from UTC as a TimeSpan.
Public property Static member TimeZoneNames
Gets a string array of display time zone names supported in the local system.
Public property Static member TimeZones
Gets a list of all time zones defined in the local system.

See Also