formatting times for the user

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sat Jun 4 13:38:17 EDT 2005


Hi Jon,

In addition to Ken function, these 2 lines may help you:

put (the duration of player "MyPlayer"/the timeScale of player  
"MyPlayer") into tDurationInSeconds -- movie lenght
put (the currentTime of player "MyPlayer"/the timeScale of player  
"MyPlayer") into tCurSeconds -- elapsed time since beginning

Le 4 juin 05 à 19:12, Jon a écrit :

> Are there any simple ways to take times (like Player  
> currentPositions or Durations) and format them for the user so that  
> they look like "h:mm:ss.hh"?  I looked in the help for Format, but  
> no joy.

Best regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------



More information about the use-livecode mailing list