Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build a datetime() variable
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01411914
Message ID:
01411917
Views:
57
>I am trying to build a datetime() variable by joining a pure date field with a character
>
>cInicial = CTOT( horarios.date + " " + "07:00")
>
>I need some help to achieve it, because there are errors
>
>Moises

You first would need to convert date to string, then add time as a string, then convert back to datetime.

In other words, the values you're summing have to be of the same type (or compatible type).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform