Convert to seconds, why??
Fran=?ISO-8859-1?B?5w==?=ois Cuneo
francois.cuneo at cuk.ch
Tue May 27 15:03:00 EDT 2003
> put fld "règletemps" into tTime --BTW don't need "cd" in front of
> "fld"
> set the itemDel to ":"
> put item 1 of tTime into tHours
> put item 2 of tTime into tMins
> put item 3 of tTime into tSecs
> set the numberFormat to "00"
> add 30 to tSecs
> add (tSecs div 60) to tMins
> put (tSecs mod 60) into tSecs
> add (tMins div 60) to tHours
> put (tMins mod 60) into tMins
> put (tHours mod 24) into tHours
> put tHours & ":" & tMins & ":" & tSecs into fld "règletemps"
Thank you very much Ken
Yes it works fine but just one little problem:
More information about the use-livecode
mailing list