RE: Milliseconds -> minutes and seconds

2014-06-28 Thread FlexibleLearning.com
Have a look at FieldFormatter. It does just this sort of thing... www.flexibleLearning.com/fieldformatter Hugh Senior FLCo Gerry Orkin wrote Hi all I'm playing an .mp3 file in iOS and saving the elapsed playing time (in milliseconds as reported by the native player) into an sqlite database

Re: Milliseconds -> minutes and seconds

2014-06-28 Thread Gerry Orkin
Perfect :) Many thanks. A real d'oh moment happening here :) g On 28 Jun 2014, at 2:45 pm, Peter W A Wood wrote: > Is this any help? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

Milliseconds -> minutes and seconds

2014-06-27 Thread Peter W A Wood
Hi Gerry Is this any help? put 124869 into tData put tData div 6 into tMinutes put tData mod 6 into tRem put tRem div 1000 into tSeconds put tMinutes & ":" & tSeconds Regards Peter On 28 Jun 2014, at 10:57, Gerry Orkin wrote: > Hi all > > I'

Milliseconds -> minutes and seconds

2014-06-27 Thread Gerry Orkin
Hi all I'm playing an .mp3 file in iOS and saving the elapsed playing time (in milliseconds as reported by the native player) into an sqlite database as it plays. That's working fine. I'm now struggling to convert those milliseconds into a MM:SS format for real time display. Anyone done that?