Shay Well-Known Member Licensed User Longtime User Jul 20, 2018 #1 Hi I wish to get time in miliseconds from the time someone click "start" to "stop" how do I get miliseconds? Thanks
Hi I wish to get time in miliseconds from the time someone click "start" to "stop" how do I get miliseconds? Thanks
DonManfred Expert Licensed User Longtime User Jul 20, 2018 #2 Remember Datetime.Now on start (long), remember value at stop (long). stoptime - starttime = time in ms Upvote 0
Remember Datetime.Now on start (long), remember value at stop (long). stoptime - starttime = time in ms
klaus Expert Licensed User Longtime User Jul 20, 2018 #3 B4X: Public StartTime, ElapsedTime As Long ' ' 'Start CurrentTime = DateTime.Now ' ' 'Stop ElapsedTime = DateTime.Now - StartTime Upvote 0
B4X: Public StartTime, ElapsedTime As Long ' ' 'Start CurrentTime = DateTime.Now ' ' 'Stop ElapsedTime = DateTime.Now - StartTime