Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time operators
Message
From
10/09/1997 14:18:52
 
 
To
10/09/1997 14:11:10
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00049372
Message ID:
00049377
Views:
63
>VFP documentation states that subtracting one time field from another gives the number of seconds between. I entered the following in the command window:
>
>firsttime = time()
>secondtime = time()
>btween = secondtime - firsttime
>
>?btween && should show the number of seconds elapsed between first 2 commands.
>
>this returns: 13:01:5813:01:55
>
>What's going on? How can I get the number of seconds betweeen two times?
>
>Erik

Use:
firsttime = seconds()
secondtime = seconds()
btween = secondtime - firsttime
Midnight case will require small add-on.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform