GetSystemTime () creates a UTC timestamp with millisecond resolution. The accuracy, however, is much worse, the clock is usually updated at 15.625 millisecond intervals on most Windows machines. There is not much point in the pursuit of improved accuracy; any watch that provides an absolute time stamp is subject to drift. You need special equipment, usually a GPS radio, to get something better. Which are difficult to use properly in a multitasking operating system other than real-time. The worst delay can be up to 200 milliseconds.
source
share