How to change time zone settings using windows api
问题 I need to change DST and time zone via API in my application. I modified & copied example of "SetTimeZoneInformation" usage by the end of the following link and have run it: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724944(v=vs.85).aspx I am assuming that my time settings should reflect on my time settings in tray or control panel. But nothing happens. Following thing also should be noticed. This code modifies "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" key