No problemo. :) The following code will return correct result as long as lnSeconds < 86400*31.
? STRTRAN(TRANSFORM(RIGHT(TTOC( DATETIME(2002,12,31,0,0,0) + lnSeconds,1),8), ;
"@R 99-99:99:99"), "31-", "00-")
>
>Yeah, I knew that. I just thought that, since you were generalizing your function, you might enjoy the challenge of generalizing it a little more < g >
--sb--