Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to calculate elapsed time
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to calculate elapsed time
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01016916
Message ID:
01016916
Views:
78
What is the "shortest" formula to calculate elapsed time when the two know values are in DateTime() type. E.g.

tVal1=DateTime()
*-- some times later
tVal2=DateTime()

I did it in a "long" function (extracting time, converting to numeric value, and then getting the difference) but I was wondering if there is a simpler way.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform