Can anyone tell me how to get seconds/minutes from milliseconds? I should also want to know how get the output not like 100000ms : 100secs 1min, I'd like to know how to get: 100000ms : 40secs 1min.
Thanks
Printable View
Can anyone tell me how to get seconds/minutes from milliseconds? I should also want to know how get the output not like 100000ms : 100secs 1min, I'd like to know how to get: 100000ms : 40secs 1min.
Thanks
Can anyone tell me how to get seconds/minutes from milliseconds? I should also want to know how get the output not like 100000ms : 100secs 1min, I'd like to know how to get: 100000ms : 40secs 1min.
Thanks
Try this:
Str$((Milliseconds/1000/60) mod 60)+"mins "+Str$((Milliseconds/1000) mod 60)+"secs"
You can easily expand it to use hours and days (even though MMF2 doesn't seem to be able to calculate with this high values.)
Try this:
Str$((Milliseconds/1000/60) mod 60)+"mins "+Str$((Milliseconds/1000) mod 60)+"secs"
You can easily expand it to use hours and days (even though MMF2 doesn't seem to be able to calculate with this high values.)
I've been stuck with that problem for ages.
BIG THANKS!
I've been stuck with that problem for ages.
BIG THANKS!