Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to limit the memory used by VFP?
Message
 
 
To
18/11/2001 22:05:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00583238
Message ID:
00583322
Views:
25
The SECONDS() functions has resolution of 10 milliseconds, DATETIME() only 1 second.

>DATETIME() doesn't have that limitation...
>
>>No, AFAIK, but you can use SECONDS() function to calculate it. This way you can measure duration of any process, not just SQL Select
ltStart = DATETIME()
>>SELECT ....
>>lnTotalSeconds= DATETIME() - ltStart
Just remember that SECONDS() returns number of seconds since midnight. Add 86400 if your process croses midnight. lnTotalTime will be negative number in this case.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform