Information générale
Catégorie:
Visual FoxPro Documentation de produit
>>>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 ......
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement