Hi Gerry

Is this any help?

        put 124869 into tData
        put tData div 60000 into tMinutes
        put tData mod 60000 into tRem
        put tRem div 1000 into tSeconds
        put tMinutes & ":" & tSeconds

Regards

Peter



On 28 Jun 2014, at 10:57, Gerry Orkin <gerry.or...@gmail.com> 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 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?
> 
> Cheers
> 
> Gerry
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to