Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the time including milliseconds

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

Hi,

What's the best way to get the time, including milliseconds into my application.

Thanks,

Al
 
GetSystemTime/GetLocalTime will retrieve the time in a structure that has also the milliseconds included

GetTickCount API function will return the number of milliseconds from midnight. by making some diferences you can find out5 the milliseconds elapsed.

Hope this helps, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top