如何确定本地时间是否针对夏令时进行了调整?

use*_*660 4 c# time date dst

是否有可能知道当地时间是否调整了夏令时?

是否可以知道机器上的当地时间是否正确?

我想很奇怪的愚蠢问题(假设没有互联网连接),但你永远不知道!!

Ree*_*sey 6

You can use TimeZoneInfo.Local.IsDaylightSavingsTime(DateTime.Now) to check to see if the current time is being adjusted.