Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime and variations
Message
From
17/09/2004 17:34:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Datetime and variations
Miscellaneous
Thread ID:
00943646
Message ID:
00943646
Views:
71
VFP7

I have a field of type DATE in a given table.

It would be nice to not only have the date but also the time of a given transaction.

If I change the type from DATE to DATETIME I'll have to change lines of code in several placed to take that change into consideration.

Now here's the thing. I just thought that perhaps a new field of type C(4) could be added instead of changing the DATE to a DATETIME. The name of that new field could be HourMinute.

For example if the time of transaction is 3.51 pm the characters stored would be "1551".

Does that make sense or is it really worth it to change to a DATETIME and do all the necessary fixes?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform