Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to subtract hours, minutes, seconds from same?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00394549
Message ID:
00394627
Vues:
10
Hi Steve

As the others told you already transform it to datetime values.
If the second one is smaller than the first one, because it's
after midnight just add a day or 24*60*60 seconds to the second
value before calculating the difference. That way you can get a
difference of 24 hours. If you have bigger differences you will
need the correct dates in both values to subtract them.

HTH
Markus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform