The TimeZoneInfo type exposes the following members.

Methods

  NameDescription
Protected methodCopyFrom
Copies a time zone info form the specified TimeZoneInfo object into the current instance.
Public methodStatic memberGetTimeZone
Returns a TimeZoneInfo instance for the time zone with supplied name.
Public methodToLocalTime
Converts the value of the utc time to a local time in this time zone.
Public methodToString
Gets display name of this time zone instance.
(Overrides Object..::..ToString()()()().)
Public methodToUniversalTime
Converts the value of the local time to UTC time. Note that there may be different possible interpretations at the daylight time boundaries.

Properties

  NameDescription
Public propertyStatic memberCurrentTimeZone
Gets the current time zone information.
Public propertyDaylightBias
Gets the difference, in minutes, between UTC and local time (in daylight savings time). UTC = local time + bias.
Public propertyDaylightName
The time zone's name during daylight savings time (DST).
Public propertyDaylightOffset
Gets the daylight offset from UTC as a TimeSpan.
Public propertyDisplayName
The time zone's display name (e.g. '(GMT-05:00) Eastern Time (US and Canada)').
Public propertyStandardBias
Gets the difference, in minutes, between UTC and local time. UTC = local time + bias.
Public propertyStandardName
The time zone's name during 'standard' time (i.e. not daylight savings).
Public propertyStandardOffset
Gets the standard offset from UTC as a TimeSpan.
Public propertyStatic memberTimeZoneNames
Gets a string array of display time zone names supported in the local system.
Public propertyStatic memberTimeZones
Gets a list of all time zones defined in the local system.

See Also