breaking currentTime into minutes, seconds, and frames

Josh Mellicker josh at dvcreators.net
Mon Feb 13 18:19:16 EST 2006


I'm sure this has been done so many times so I thought I would ask.  
(I've searched everywhere I can find)

When getting currentTime of a QT movie, you get an integer which is  
the current frame.

This gets minutes:

put "minutes: " & (curTime - (curTime mod 1800))/1800 into curMin

What I'm trying to get is:


mm:ss:ff

minutes:seconds:frames

(like: 1:34.23)


My brain hurts.



More information about the use-livecode mailing list