views:

33

answers:

1

I have UTC time which is coming from UDP, I have a program to calculate Day and Time of UTC, how can I set my system clock at that day and time, kindly give me some direction so that I can make it possible.

I am using window OS.

+1  A: 

To set the current system time, use the SetSystemTime Win32 API function.

Greg Hewgill