Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Time Elapsed function?
Message
From
16/07/1997 19:31:27
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00040214
Message ID:
00040327
Views:
30
You can use the SECONDS() function. It works with a resolution of 1/1000 seconds .

lnTime1=Seconds()
*-- Some code here
lnTime2=Seconds()
?"Elapsed time:",lnTime2-lnTime1

Vlad

>I was curious if there was a built in function for the time elapsed between two times? If not, does anyone the code for such a function handy? I suppose I could code it myself, but you know be, why reinvent the wheel ;).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform