WMI and Day Light saving time

If you use the "Bias" property of Win32_TimeZone to convert time to UTC time, remember to check "DayLightInEffect" property of Win32_ComputerSystem to determine if you need to adjust the "Bias" according to Day Light saving time.

Be the first to comment

Leave a Reply

Social Widgets powered by AB-WebLog.com.

Advertisment ad adsense adlogger