Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set hours to 12|24
Message
From
12/09/2011 09:52:58
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
01523209
Message ID:
01523239
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.

Odd but true. When I first load VFP I get 24hr format regardless of the SET HOUR setting. After executing 'SET DATE BRITISH' (or any other valid option) then the display respects the SET HOUR setting ......
Previous
Reply
Map
View

Click here to load this message in the networking platform