Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time operators
Message
De
10/09/1997 14:18:52
 
 
À
10/09/1997 14:11:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00049372
Message ID:
00049377
Vues:
57
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform