[Gambas-user] date syntax
Jack
jscops at ...11...
Fri Apr 9 19:52:49 CEST 2004
Hello Gambers,
My question is very simple for masters as you.
II have a string variable initialised by
dte = (Left(dte,4) & "," & Mid(dte,5,2) & "," &Right(dte,2))
the result is "2004,04,09"
Now i want use the Date function for somes controls
my syntax is
dte = Date(dte)
But i have a message "Invalid Date" .
Yet, if i write PRINT DATE(2004,04,09) in a console, i have no error and the
answer is 2004,04,09
What is wrong please ?
Thank you for yours answers.
°~ Jack ~°
More information about the User
mailing list