Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime values
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00641239
Message ID:
00641241
Vues:
15
>My goal here is to get the number of hours that have elapsed between two datetime variables. One variable is set to the current datetime(), the other datetime variable is pieced together from the date and time a file was last modified. If I just subtract the two datetimes it gives me a very odd number. Thanks in advance.
>
>Justin

Substracting one datetime value from another gives the number of seconds between them. You've to divide it by 3600 to convert it into hours.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform