Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set hours to 12|24
Message
From
12/09/2011 10:04:23
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
01523209
Message ID:
01523246
Views:
26
>>>>>I got - see attached. Are you trying in the form or from the command window?
>>>>
>>>>
>>>>Command window
>>>
>>>I got it to display correct values (with the respect of the SET HOURS) by executing every line of code one at a time:
>>>
>>>SET DATE USA
>>>dt = DATETIME() + 3600 *10
>>>SET HOURS TO 24
>>>WAIT WINDOW dt
>>>SET HOURS TO 12
>>>WAIT WINDOW dt
>>>
>>>and now it also works if I do all at once.
>>
>>
>>;-)
>
>OK, I got it all figured out.
>
>Every date setting besides SET DATE short / SET DATE long respects SET HOURS.
>
>Ok, now I can run.

And SHORT / LONG respect the Windows regional time format settings.....
Previous
Reply
Map
View

Click here to load this message in the networking platform