Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Text to DateTime
Message
De
19/08/2008 14:34:23
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Convert Text to DateTime
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01340048
Message ID:
01340048
Vues:
47
This does not work. The last value is an empty DateTime. How do I do this? What if the date is "20080819" or "08192008" or "08/19/2008" or whatever? Is there one way to convert these?
cDate = '080819'
cTime = '1315'
cDateTime = cDate + ':' + cTime
? ctot(transform(cDateTime,'@R ^99/99/99:99:99'))
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform