Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Date + Time into DateTime
Message
 
 
À
25/10/2011 11:52:27
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01527302
Message ID:
01527307
Vues:
46
It does work very well. Thank you!

>This might work.
>
>ctot(dtoc(datefield)+" "+timefield)
>
>
>>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.
"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform