Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference between two time stamps
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360224
Message ID:
01360229
Views:
9
>What is the simplest (or just simple) way of calculating time difference in minutes? For example,
>
>
>*-- Store current Hours and Minutes portion of time
>nTime1 = substr(time(),1,5)
>*-- Store another time on Hours and Minutes
>nTime2 = substr(time(),1,5)
>
>
>Given that both time() reading were done in the same day, what is the difference between nTime2 and nTime1
>in minutes? (Note that I cannot use the Seconds() function)
>
>Thank you in advance for any help.

Do you mean this
http://berezniker.com/content/pages/visual-foxpro/converting-duration-seconds-time-format
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform