system time in milliseconds

S

sarab

Hi ,
gettimeofday api has been discontinued on windows ia64 2003 Server. is
there another way of getting the system in milliseconds instead of seconds.



regards
-sarab
 
J

John Phillips

Check out either the SYSTEMTIME struct (and GetSystemTime() or
GetLocalTime()) which has millisecond precision, or GetTickCount(), which
gives the number of milliseconds since system start.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top