Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change time string to am/pm
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Change time string to am/pm
Divers
Thread ID:
01684752
Message ID:
01684752
Vues:
43
Hi,

Say I store the value of time in a string (e.g. "20:01" for 8:01pm). In a report, I would like this time to be shown in an American format, am/pm. I can display this time using CTOT(cTimeString) but it also shows a date (the current date).
Is there a way to use CTOT() and make sure that the DATE part is not showing?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform