seconds to standard time numberformat?

Mark Swindell mdswindell at charter.net
Fri Aug 22 13:20:01 EDT 2003


Thanks for the speedy responses!  Much appreciated.  This snippet 
displays what I wanted.

on upDateTimer
    global gtheSecs,gtheSecsLong	
     add 1 to gtheSecs
     put  gtheSecs into gtheSecsLong
     convert gtheSecsLong  to long time
     put empty into char 1 to 2 of gtheSecsLong -- removes initial hour 
and colon, leaves minutes and seconds
     put gtheSecsLong into field "Time"
     send "updateTimer" to me in 1 second
end upDateTimer

Mark

On Friday, August 22, 2003, at 09:11  AM, J. Landman Gay wrote:

>> Is there a numberformat or other option that will display seconds in 
>> standard 00:00:00 format?
>
> get the seconds
> convert it to long time
> put it




More information about the use-livecode mailing list