[英]Samoa Standard Time (SST) in .NET 4.6.2
From https://www.timeanddate.com/time/zones/sst , the time zone is UTC -11. 从https://www.timeanddate.com/time/zones/sst ,时区为UTC -11。 However, when I get timezone info from .NET. 但是,当我从.NET获取时区信息时。 It is the UTC +13. 它是UTC +13。
var timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("Samoa Standard Time");
timeZoneInfo is UTC +13. timeZoneInfo是UTC +13。
How can I get the correct time zone info of Samoa Standard Time (SST) in .Net 如何在.Net中获取萨摩亚标准时间(SST)的正确时区信息
Samoa (officially The Independent State of Samoa ) and American Samoa are in two different time zones, on opposite sides of the international date line. 萨摩亚(正式为萨摩亚独立国 ) 和美属萨摩亚位于两个不同的时区,位于国际日期线的相对两侧。
Image source: Wikimedia Commons 图片来源:Wikimedia Commons
The Independent State of Samoa observes UTC+13 during standard time and UTC+14 during daylight saving time . 萨摩亚独立国在标准时间遵守UTC + 13,在夏令时遵守UTC + 14 。
"Samoa Standard Time"
它的Windows时区标识符是"Samoa Standard Time"
"Pacific/Apia"
其IANA时区标识符为"Pacific/Apia"
American Samoa observes UTC-11 the whole year . 美属萨摩亚全年观察UTC-11 。
"UTC-11"
其Windows时区标识符为"UTC-11"
"Pacific/Pago_Pago"
其IANA时区标识符为"Pacific/Pago_Pago"
As always: 一如既往:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.