Time Convert
#1

Hey!

I'm just wondering how to get this type of format

Minutes:Seconds:Miliseconds since race started. I got minutes and seconds working, but how do you calculate the miliseconds ?
Reply
#2

Use GetTickCount instead of gettime. It returns milliseconds.
Take the difference between the GetTickCount when the race started and the current GetTickCount and calculate the times.
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
Use GetTickCount.
Thanks both.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)