0

hello,
the windows API GetSystemTime() could return the current time by a SYSTEMTIME struct variable,then the windows API SystemTimeToFileTime could change this struct into the form of 100-nanoseconds that ever passed since since January 1, 1601 (UTC),this number is stored in a FILETIME struct which has a high part and a low part.
but now I wanna get the current seconds(like the time() in time.h) and the microseconds that within one second(this is the point),
How can I convert the 100-nanoseconds value to what I want?
Or is there annother effective way to do this?
thanks.
-yogo

4
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by walsug
0

Are you hoping to use Windows as an accurate clock [absolute time] or as a stopwatch [relative time]?

0

Are you hoping to use Windows as an accurate clock [absolute time] or as a stopwatch [relative time]?

hi,
accurate clock [absolute time],I think,as I've posted.

regards
-yogo

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.