Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Military Time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01245247
Message ID:
01245298
Vues:
27
>>Your code only works if SET HOURS is set to 12.
>
>If I run
>
>
>set hours to 24
>? Ttoc(Ctot(Transform(Dtos(Date()), '@R 9999-99-99') + 'T' + "13:45"), 2) && 1:45:00 PM
>? Set("Hours") && 24
>
>
>I get the same results as if I run
>
>
>set hours to 12
>? Ttoc(Ctot(Transform(Dtos(Date()), '@R 9999-99-99') + 'T' + "13:45"), 2)  && 1:45:00 PM
>
>? Set("Hours") && 12
>
In VFP8 I get different results depending on the setting. But may be because ttoc has less parameters? Let me check Help.

UPDATE. In VFP8 Set Hours is not mentioned in regards to TTOC() function.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform