Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem to compare date+time with System datetime
Message
 
 
À
22/07/2013 18:44:57
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579024
Message ID:
01579035
Vues:
44
>Hello Naomy
>
>the values are:
>myyear = 2013
>mymonth = 07
>myday = 18
>myhora = 10
>myminutos = 00
>
>Thanks for your reply.
>Luis Santos

Before sending these values to the DATETIME function apply CAST(myYear AS I) in the values. As I said, you need to pass numbers, not strings to the DATETIME function.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform