+ 14

Split time in a stopwatch?

Guys, I have a stopwatch that captures time in centiseconds (for example, "00:00:01.23"), I have all my captures in a list ("Capture 1: 00:00:01.23, Capture 2: 00:00:01.23 etc). How do I get the difference between two captures? If I have clicked on split/capture button in seconds 2, 7, 11 , I should get: 2, 5, 4 respectively. Does anyone have any ideas?

29th Dec 2017, 11:05 AM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
3 Antworten
+ 5
Hope this code could assist you https://code.sololearn.com/WSo3Xe915VtW/?ref=app
29th Dec 2017, 12:56 PM
Calviղ
Calviղ - avatar
+ 11
That is really beautiful. Thank you so much for your code, I'll go through it in details when I get home. I got a little help and I've managed to finish mine, now everything works well. It was rather easy, actually. ♥️ Thank you again, this is what I love about sololearn: there's always someone ready to help. 😊 Although, my question probably wasn't precise enough because I didn't offer the code, but I just run out of the ideas, so i needed ideas to get me going. 😊 Happy holidays Calvin! 🎈♥️🎇
29th Dec 2017, 8:55 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 4
Happy new year to you, @dplusplus ✨🎉😁
29th Dec 2017, 11:13 PM
Calviղ
Calviղ - avatar