Version

TimeZoneInfo Class Members

The following tables list the members exposed by TimeZoneInfo.

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)CurrentTimeZoneReturns the TimeZoneInfo instance which corresponds to the TimeZone returned from the System.CurrentTimeZone property.  
Public PropertyDaylightDateReturns the date and time of transisition to daylight time for the time zone represented by this TimeZoneInfo object.  
Public PropertyDaylightNameReturns the daylight saving time name for for the time zone represented by this TimeZoneInfo object  
Public PropertyDaylightUtcOffsetReturns the additional offset from UTC (Coordinated Universal Time) for the time zone represented by this TimeZoneInfo object for daylight time.  
Public PropertyDisplayNameThe display name for this TimeZoneInfo object.  
Public PropertyIndexThe visible index of this TimeZoneInfo object; i.e., where it should appear in a list of time zones.  
Public PropertyNowReturns the current time, as obtained for the current time zone for this computer, translated to local time for the time zone represented by this TimeZoneInfo object.  
Public PropertyStandardDateReturns the date and time of transisition to standard time for the time zone represented by this TimeZoneInfo object.  
Public PropertyStandardNameReturns the standard name for for the time zone represented by this TimeZoneInfo object  
Public PropertyStandardUtcOffsetReturns the additional offset from UTC (Coordinated Universal Time) for the time zone represented by this TimeZoneInfo object for standard time.  
Public PropertyTodayReturns the current date, as obtained for the current time zone for this computer, translated to local time for the time zone represented by this TimeZoneInfo object.  
Public PropertyUtcOffsetReturns the offset from UTC (Coordinated Universal Time) for the time zone represented by this TimeZoneInfo object.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)FromStandardNameOverloaded. Returns the TimeZoneInfo instance whose StandardName property matches the specified standardName.  
Public MethodIsDaylightSavingTimeReturns whether the specified date and time is within a daylight saving time period for the time zone represented by this TimeZoneInfo object.  
Public MethodToLocalTimeOverloaded. Returns the date/time of the specified time for the time zone represented by this TimeZoneInfo object. The translation is made using this computer's time zone information.  
Public MethodToStringReturns the string representation (DisplayName) of this TimeZoneInfo object  
See Also