Hi to all,
i have this code :
With this code i got a string that rapresent the time in second from start and stop, for ex. "01","08","10","00".
Instead i want a string with that rapresent the values, "03.234","08.432", in milliseconds.
How can i do it?
Thanks.
i have this code :
B4X:
sub button1_Click
timestart= datetime.now
end sub
sub button2_click
Gottime
end sub
private sub GotTime
timestart = DateTime.now
difftme = timestop-timestart
gottime = DateTime.Time(difftime)
gottime= gottime.SubString2(6,8)
ToastMessageShow("The time is (second):" & gottime)
end sub
With this code i got a string that rapresent the time in second from start and stop, for ex. "01","08","10","00".
Instead i want a string with that rapresent the values, "03.234","08.432", in milliseconds.
How can i do it?
Thanks.