I have a question that needs your help. I need to set the system time using my software.
Therefore i used the SetSystemTime(lpSystemTime) Windows API.
However I can only set the year, month, day, minutes and seconds only.
I cannot set the hour to the time I want. For example, i set it to be 0 (which is suppose to set to 12 am) but the system time is changed to 8 am instead. There is an offset of 8 hours. when i set the time to be later, there might be a possibility that the day is changed to the following day.
How can i overcome this problem? Please advice.