What value should I pass into TimeZoneInfo.FindSystemTimeZoneById(String)?

前端 未结 10 1951
南笙
南笙 2020-12-04 15:22

I want to use the TimeZoneInfo.FindSystemTimeZoneById(String) method, but I don\'t know what values to use as the input?

Where can I get a list of values for i

10条回答
  •  攒了一身酷
    2020-12-04 15:40

    The latest Microsoft documentation, with a list of these, can be found at https://support.microsoft.com/en-gb/help/973627/microsoft-time-zone-index-values

    The time zone ID strings are currently as follows (if you want to see the actual time difference of see the hex index for each time zone ID then click the above link):

    Samoa Standard Time

    Alaskan Standard Time

    Mountain Standard Time

    U.S. Mountain Standard Time

    Canada Central Standard Time

    Central America Standard Time

    U.S. Eastern Standard Time

    Atlantic Standard Time

    Pacific S.A. Standard Time

    E. South America Standard Time

    Greenland Standard Time

    Azores Standard Time

    GMT Standard Time

    Central Europe Standard Time

    Romance Standard Time

    W. Central Africa Standard Time

    Egypt Standard Time

    GTB Standard Time

    South Africa Standard Time

    Arab Standard Time

    Arabic Standard Time

    Arabian Standard Time

    Transitional Islamic State of Afghanistan Standard Time

    West Asia Standard Time

    Nepal Standard Time

    Sri Lanka Standard Time

    Myanmar Standard Time

    North Asia Standard Time

    Singapore Standard Time

    W. Australia Standard Time

    Korea Standard Time

    Yakutsk Standard Time

    Cen. Australia Standard Time

    E. Australia Standard Time

    Vladivostok Standard Time

    Central Pacific Standard Time

    New Zealand Standard Time

    Azerbaijan Standard Time 

    Jordan Standard Time

    Mountain Standard Time (Mexico)

    Namibia Standard Time

    Central Brazilian Standard Time

    Armenian Standard Time

    Argentina Standard Time

    Pakistan Standard Time

    UTC

    Kamchatka Standard Time

提交回复
热议问题