C High Accuracy timestamp in microseconds in multithreaded programming in Windows 7 -
this question has answer here:
how high accurate/close accuracy timestamp in microseconds(system time) in multithreaded/threadsafe c programming in windows 7 (in 2015).
probably timestamp year:day:month:hour:mins:secs:millisecs:microsecs
if you're looking real-world timestamps , not time-interval-measurement (as suggested comment timestamps in year:day:month:hour:mins:secs:millisecs:microsecs format), getsystemtimeasfiletime() best thing you're going get. populates filetime struct, uses units of 100ns, although actual resolution of data provided not going high-resolution filetime struct's units imply (apparently designer of filetime struct wanted leave plenty of room future improvement!)
once have filetime object, can convert systemtime object using filetimetosystemtime(). systemtime object breaks time out year/month/day/hours/minutes/seconds/milliseconds fields (sorry, no microseconds).
on other hand, if purpose measure time intervals , , don't need match them absolute real-world dates/times, have other options. precise api queryperformancecounter(), wouldn't hopes high -- windows not real-time os, , lack of real-time performance reflected in quality of results it.