Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build a datetime() variable
Message
 
 
À
13/07/2009 11:14:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01411914
Message ID:
01411944
Vues:
44
>>I am trying to build a datetime() variable by joining a pure date field with a character
>>
>>cInicial = CTOT( horarios.date + " " + "07:00")
>>
>>I need some help to achieve it, because there are errors
>>
>>Moises
>
>I think horairos.date is a date? If so:
>
>
cInicial =  dtot(horairos.date) + ( ctot( "07:00" ) - ctot("0")  )
>Cetin

Nice and simple!
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform