How do I find out if the computer I'm on has daylight saving time in effect? (preferably using WMI)
According to this article at TechNet, I could query SELECT DaylightInEffect FROM Win32_ComputerSystem
, but the property DaylightInEffect
is not supported on Vista or Win7. As my program will run on various systems (XP, Vista, 7), I would appreciate some portable way of finding out.