Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTOT and Getting Wrong Time
Message
From
27/02/2008 19:23:58
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
27/02/2008 19:09:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01297205
Message ID:
01297209
Views:
22
This message has been marked as the solution to the initial question of the thread.
Should be
CTOT( "01/01/2000 " + ApptRules.EndTime)
Leave a space between year and time.

>I have this:
>
>
>ApptRules.EndTime = "02:45 PM"
>
>CTOT( "01/01/2000 : " + ApptRules.EndTime)
>
>
>The result is:
>
>
>01/01/2000 12:02:45 PM
>
>
>When I thought it would be:
>
>
>01/01/2000 02:45 PM
>
Previous
Reply
Map
View

Click here to load this message in the networking platform