In CPP you can refer to the following function (in the link there also have a detailed explanation and example)
Is it possible to set Windows' timezone, daylightsavingtime, and ntp?
정호 송
20
Reputation points
I am developing a function to change Windows timezone and ntp settings using C++ language. I know how to change settings with the cmd command or change the timezone and ntp settings by changing the registry. But as a developer I want to change this to source code through a library. Is there a way? Please, please.
Accepted answer
1 additional answer
Sort by: Most helpful
-
정호 송 20 Reputation points
2024-01-09T09:21:43.4+00:00 Thank you very much for your reply. Thanks to this, the time zone issue was resolved. Can you tell me if there is an API related to NTP settings? For example, changing the NtpServer output as a result of w32tm /dumpreg /subkey:Parameters. Please, please.