开发者

IsDayLightSavingTime changed?

开发者 https://www.devze.com 2023-04-07 20:45 出处:网络
Before, this code 开发者_如何转开发would return True, now it returns False. Have any of you hear of an update on this function?

Before, this code 开发者_如何转开发would return True, now it returns False. Have any of you hear of an update on this function?

d2 = New DateTime(2010, 11, 7, 1, 0, 0)

Console.WriteLine("D2: " & System.TimeZone.CurrentTimeZone.IsDaylightSavingTime(d2))

We parse files and put the data into a database, if I parse the exact same file with the same code (it was never changed) I get different results.

Update

This is EST/EDT

0

精彩评论

暂无评论...
验证码 换一张
取 消