Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Calculation
Message
From
01/10/1998 13:07:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00142443
Message ID:
00142911
Views:
35
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
Previous
Reply
Map
View

Click here to load this message in the networking platform