Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time
Message
De
22/09/2000 01:46:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Time
Divers
Thread ID:
00415848
Message ID:
00419555
Vues:
18
>I am looking for a function, or maybe some code to help me calculate time only, no dates. I would like to be able to store 2 different times like 8:45 and 9:03 and figure how much time went by, or say the time is 8:55, now add 10 minutes. Would I have to store these figues in a character field?

How about storing these values in a numeric field, the number representing the number of seconds since midnight to the time you want. You can write methods to convert them in and out of your times.

But I would just use DateTime, and simply ignore the date.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform