Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Date + Time into DateTime
Message
De
25/10/2011 11:55:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01527302
Message ID:
01527305
Vues:
52
This message has been marked as a message which has helped to the initial question of the thread.
>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.
dd = DATE()
tt = "12:11:59"
? CTOT(DTOC(dd)+ " " + tt)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform