Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set hours to 12|24
Message
De
12/09/2011 09:52:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
01523209
Message ID:
01523239
Vues:
25
>>>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
Fil
Voir

Click here to load this message in the networking platform