time with milliseconds
Posted: Sat Mar 14, 2020 1:48 pm
Does a function exist which returns the time with milliseconds?
www.FiveTechSoft.com
https://forums.fivetechsoft.com/
Code: Select all
? DateTime() // --> 14-03-2020 20:56:20.355
Code: Select all
function TIME_MS()
#ifdef __XHARBOUR__
local cTime := TTOC( DateTime(), 2 )
#else
local cTime := HB_TTOC( HB_DateTime(), "", "HH:MM:SS:FFF" )
#endif
return cTime