Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build a datetime() variable
Message
 
 
To
13/07/2009 11:14:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01411914
Message ID:
01411944
Views:
45
>>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
>
>I think horairos.date is a date? If so:
>
>
cInicial =  dtot(horairos.date) + ( ctot( "07:00" ) - ctot("0")  )
>Cetin

Nice and simple!
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