Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime variation in HH:MM:SS
Message
 
 
To
07/09/2002 18:45:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00697929
Message ID:
00697967
Views:
27
>>You don't have to use constant at all.
? RIGHT(TTOC( DTOT(DATE()) + lnSeconds),8)
>
>That's another good way to achieve the same.

I realized that it would produced desired result only if SET HOURS set to 24. Here's the code that will return correct result regardless of any date/time settings.
? TRANSFORM(RIGHT(TTOC( DTOT(DATE()) + lnSeconds,1),6), "@R 99:99:99")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform