Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting character 3:45 PM to 15 and 45 numeric
Message
De
07/02/2008 16:56:16
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Converting character 3:45 PM to 15 and 45 numeric
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01290609
Message ID:
01290609
Vues:
55
Got an input of " 3:45 PM" and need to populate numeric fields with 15 and 45 respectively. The 45 is easy, but the hour I can't get to work. The input could be any valid time like " 8:10 AM" and "10:40 PM" or "12:00 AM" and "12:00 PM" and I want to get the 24-hour equivalent numeric values for the hours and minutes. Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform