[]
Returns a TimeZoneInfo instance for the time zone with supplied name.
public static TimeZoneInfo GetTimeZone(string name)
Type | Name | Description |
---|---|---|
string | name | A name of the time zone to search for. |
Type | Description |
---|---|
TimeZoneInfo | TimeZoneInfo instance if any; null otherwise. |
This method searches by standard, daylight and display names.