Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accuracy of seconds()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01292518
Message ID:
01292520
Views:
15
>>If I execute seconds() twice and I observe an elapsed time of 4.345 seconds, what is the chance that 4.345 seconds has actually elapsed? Is seconds accurate down to a millisecond?
>
>No. Under NT 4.0 or later a resolution is 10 milliseconds. IIRC, it can be changed to 1 millisecond with some WIn API call.

So why does it return a value with three decimal places?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform