Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to calulate duration of time
Message
From
25/05/1999 12:43:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to calulate duration of time
Miscellaneous
Thread ID:
00222554
Message ID:
00222554
Views:
51
I want to calcualte a duration of time. Let's said i first click to a button then it will get the system time and store to a variable, later i click again the button and get the system time again.
Now i want to calculate the time duration between the first and second click.
Can i calculate it by :
>>duration= time()-time()
&&& first click time deduct second click time

Any other good ways to get it ? i want to get the duration in total hours, minutes, seconds. each are separate !!!

regard,
chang
Next
Reply
Map
View

Click here to load this message in the networking platform