* This routine converts a numeric value representing seconds, >* into a character string of hh:mm:ss format. >* Anything over 24 hours is still expressed as hours e.g. 174:22:31 >LPARAMETERS ; > tnSeconds > >LOCAL ; > lnHours, ; > lnMinutes, ; > lnSeconds > >lnHours = INT(tnSeconds / 3600) >lnMinutes = INT((tnSeconds - (lnHours * 3600)) / 60) >lnSeconds = (tnSeconds - (lnHours * 3600) - (lnMinutes * 60)) > >RETURN ; > LTRIM(STR(lnHours)) + [:] ; > + PADL(LTRIM(STR(lnMinutes)), 2, [0]) + [:] ; > + PADL(LTRIM(STR(lnSeconds)), 2, [0])Ok, this one contains the missing part I was looking for. Thanks