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:
01411926
Views:
56
Ho Moises,

>cInicial = CTOT( horarios.date + " " + "07:00")

Is the goal to have a datetime variable (tInicial) or a character variable (cInicial)?

tInicial = Dtot(horarios.date )+3600*Val(GetWordNum("07:00",1,":"))+60*Val(GetWordNum("07:00",2,":"))
cInicial = DTOC(horarios.date)+" " + "07:00"
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform