Why not make your one routine.
nTimeSec = INT(nTimeInSeconds / 3600)
nRestSec = nTimeInSeconds - (nTimeSec * 3600)
nMinutSec = INT(nRestSec / 60)
nSeconds = nRestSec - (nMinuteSec * 60)
cTime = STRTRAN(STR(nTimeSec,2)+":"STR(nMinutSec,2)+":"+STR(nSeconds,2)," ","0")
>Pat,
> Does focus.fll have an internal function that converts seconds to the hh:mm:ss format? For example, 110 seconds would convert to 00:01:50.
>
>TIA,
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"