General information
Category:
Visual FoxPro Product Documentation
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only