
Patrick B. answered 03/17/19
Math and computer tutor/teacher
you have the difference in milliseconds...
divide by 1000 to get seconds.... keep the remainder of milliseconds
divide that by 60 to get minutes....keep that remainder as seconds
divide that by 60 to get hours... keep that remainder as minutes
EX. 123456789 millliseconds
123456 seconds and 789 milliseconds
123456/60 = 2057 with remainder 36
So 2057 minutes 36 seconds 789 milliseconds
2057 / 60 = 34 hours 17 minutes 36 seconds 789 milliseconds
1 day 10 hours 17 minutes 36 seconds 789 milliseconds