Thanks Dave. I think I knew that, but it wasn't clicking when I cranked this out.
>Erik,
>
>FWIW, the PAD() functions will convert from numeric to string directly, there's no need for the alltrim() and str() calls:
>
>lcDays = padl( lnDays, 2, "0" )
>
>>lcDays = PADL(ALLTRIM(STR(lnDays)),2,"0")
>>lcHours = PADL(ALLTRIM(STR(lnHours)),2,"0")
>>lcMinutes = PADL(ALLTRIM(STR(lnMinutes)),2,"0")
Erik Moore
Clientelligence