TimeZone Members

The following tables list the members exposed by the TimeZone type.

Protected Constructors

Name Description
Protected Method TimeZone Initializes a new instance of the TimeZone class.

Public Properties

Name Description
Public Property Static CurrentTimeZone Gets the time zone of the computer you are using.
Public Property DaylightName Gets the daylight saving time zone name.
Public Property StandardName Gets the standard time zone name.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetDaylightChanges Returns the daylight saving time period for a specified year.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method GetUtcOffset Returns the Coordinated Universal Time (UTC) offset for the specified local time.
Public Method IsDaylightSavingTime Returns a value that indicates whether a specified date and time is in a daylight saving time period.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToLocalTime Returns the local time that corresponds to a specified Coordinated Universal Time (UTC) time.
Public Method ToString (Inherited from Object.)
Public Method ToUniversalTime Returns the Coordinated Universal Time (UTC) time that corresponds to a specified local time.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

TimeZone Class
System Namespace