The following tables list the members exposed by TimeZoneInfo.
Name | Description | |
---|---|---|
CurrentTimeZone | Returns the TimeZoneInfo instance which corresponds to the TimeZone returned from the System.CurrentTimeZone property. | |
DaylightDate | Returns the date and time of transisition to daylight time for the time zone represented by this TimeZoneInfo object. | |
DaylightName | Returns the daylight saving time name for for the time zone represented by this TimeZoneInfo object | |
DaylightUtcOffset | Returns the additional offset from UTC (Coordinated Universal Time) for the time zone represented by this TimeZoneInfo object for daylight time. | |
DisplayName | The display name for this TimeZoneInfo object. | |
Index | The visible index of this TimeZoneInfo object; i.e., where it should appear in a list of time zones. | |
Now | Returns 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. | |
StandardDate | Returns the date and time of transisition to standard time for the time zone represented by this TimeZoneInfo object. | |
StandardName | Returns the standard name for for the time zone represented by this TimeZoneInfo object | |
StandardUtcOffset | Returns the additional offset from UTC (Coordinated Universal Time) for the time zone represented by this TimeZoneInfo object for standard time. | |
Today | Returns 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. | |
UtcOffset | Returns the offset from UTC (Coordinated Universal Time) for the time zone represented by this TimeZoneInfo object. |
Name | Description | |
---|---|---|
FromStandardName | Overloaded. Returns the TimeZoneInfo instance whose StandardName property matches the specified standardName. | |
IsDaylightSavingTime | Returns whether the specified date and time is within a daylight saving time period for the time zone represented by this TimeZoneInfo object. | |
ToLocalTime | Overloaded. 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. | |
ToString | Returns the string representation (DisplayName) of this TimeZoneInfo object |