C++ Programming
08-12-2009, 08:02 PM
Here is info copied from google search:
============================
FILETIME
Introduction It shows elapsed time from 00:00:00 on Jan 1, 1601. It is expressed per 100 nano-seconds.
conversion fomula from FILETIME to time_t is
( FILETIME - 0x19DB1DED53E8000 ) / 10000000;
Recordable range from : 00:00:00 on Jan 1, 01601 ( 00000000 : 00000000 )
to : 14:36:10 on Mar 28, 60056 ( FFFFFFFF : FFFFFFFF )
=============================
from info above, unit in FILETIME is 100 nano-seconds, or 10^(-4) millisecond.
Is my understanding about FILETIME unit correct?
If yes, how do we generate a so small time value for the unit?
============================
FILETIME
Introduction It shows elapsed time from 00:00:00 on Jan 1, 1601. It is expressed per 100 nano-seconds.
conversion fomula from FILETIME to time_t is
( FILETIME - 0x19DB1DED53E8000 ) / 10000000;
Recordable range from : 00:00:00 on Jan 1, 01601 ( 00000000 : 00000000 )
to : 14:36:10 on Mar 28, 60056 ( FFFFFFFF : FFFFFFFF )
=============================
from info above, unit in FILETIME is 100 nano-seconds, or 10^(-4) millisecond.
Is my understanding about FILETIME unit correct?
If yes, how do we generate a so small time value for the unit?