Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Date + Time into DateTime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01527302
Message ID:
01527325
Vues:
40
>Hi,
>
>I have two fields, Date type and Char field that stores a time in the following format "HH:MM:SS". I need to create a DateTime expression (so that I can store it in a new field). I can use the VFP function DATETIME() to do it and pass parses values of the Year, Month, Date, Hours, etc. Is there a simple way? TIA.
dDateField = DATE()
cTimeField = TIME()
? CTOT(TRANSFORM(DTOS(dDateField), "@R 9999-99-99") + "T" + cTimeField)
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform