Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hundredths of a second
#2
str.time cannot format part of second. Use GetTickCount, timeGetTime, GetLocalTime or some other Windows API function. Example:

Code:
Copy      Help
SYSTEMTIME st
GetLocalTime &st
out "%02i:%02i:%02i.%02i" st.wHour st.wMinute st.wSecond st.wMilliseconds/10


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)