如何检查 DST 是否适用于当前时区



>有人知道如何在点网中决定夏令时是否适用于当前时区吗?

例如

布里斯班时区没有夏令时,而阿德莱德时区有夏令时

我得到了解决方案。

检查TimeZoneInfo.FindSystemTimeZoneById函数和TimeZoneInfo.SupportsDaylightSavingTime属性。

请参考以下链接:

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/fff4de50-2230-4e34-8ec4-c6afff854ea0/how-to-check-whether-dst-is-applicable-for-current-timezone?forum=csharpgeneral