Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with time field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01282322
Message ID:
01282324
Vues:
10
>I am developing a software for parking lot, where:
>
>time_in is the time the car enters
>timme_out is the time the car goes out
>
>Then I would apply the formula below:
>
>time_out - time_in = minutes_to_pay
>
>I would like your opinions
>
>Can I store time_in in a character field and then
>transform it with val() or can I store date and time into datetime type variable ?

I would use DateTime field/variable. Just keep in mind that the result of time_out - time_in would be in seconds not in minutes.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform