Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with time field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01282322
Message ID:
01282324
Views:
9
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform