Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set hours to 12|24
Message
 
 
À
12/09/2011 09:42:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
01523209
Message ID:
01523251
Vues:
37
>>>Hi,
>>>
>>>When I Set Hours to 12, datetime() is returning a time as if I had set hours to 24. How can I be sure to get a 12 hours notation?
>>>
>>>Regards,
>>>
>>>Koen
>>
>>Despite what Help file says, it always returns the same value (am/pm) when I use SET HOURS.
>
>But this works:
>
>SET HOURS TO 24
>? TTOC(DATETIME())
>SET HOURS TO 12
>? TTOC(DATETIME())
>
>:o)

This was not working for me either originally.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform