Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference between two time stamps
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360224
Message ID:
01360229
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform