3,977 questions
You must enable the SE_SYSTEMTIME_NAME privilege, as said in the doc
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello Everybody.
How can i change the local time on my pc?
Is here way how can i change it with "windows.h"
I used this code but somewho is didn't change.
Thanks for answare.
void main()
{
SYSTEMTIME st, lt;
GetLocalTime(<);
lt.wHour--;
SetLocalTime(<);
}
You must enable the SE_SYSTEMTIME_NAME privilege, as said in the doc