Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get hour value return in 12 hour format ?
Message
De
22/04/1999 03:31:20
 
 
À
21/04/1999 11:51:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00210588
Message ID:
00210890
Vues:
24
Try substr(ttoc(datetime()), 12,2) or something similar

>I want to get the value of hour from the system time, but i want the return value in the 12 hour fromat.
>As i know the hour(datetime()) or hour(time()) also return the 24 hour format even though use set hours to 12 .
>Any one know how to get it , thanks
>
>regard,
>chang
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform