mstime = (unixtime \* 10000000) + 116444736000000000 In **Linux** you can obtain time in microseconds (10^-6 sec) from 1 Jan 1970 using gettimeofday. In **Windows** a 64-bit value contains the number of 100-nanosecond intervals since January 1, 1601 (UTC).