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:
01411921
Views:
56
>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

See this message #530448 for converting date to string.

So, it would be
ctot(transform(dtos(DATE()), "@R 9999-99-99") + "T" +  "07:00")
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