J
John Devlon
Hi,
I've created a class With a few properties of type "date".
I also have a SQL-database (which I can't change) with columns of type
"datetime"
when I use ...
clsInfo.date = now()
.... I can't pas the date to the database without errors...
When I create a date property of type string and I use it like this ...
clsInfo.dateString = "2006-12-2"
.... it works fine...
Anyone any idea's ? Do I have to convert the date to string before sending
it to the database ?
thanx
John
I've created a class With a few properties of type "date".
I also have a SQL-database (which I can't change) with columns of type
"datetime"
when I use ...
clsInfo.date = now()
.... I can't pas the date to the database without errors...
When I create a date property of type string and I use it like this ...
clsInfo.dateString = "2006-12-2"
.... it works fine...
Anyone any idea's ? Do I have to convert the date to string before sending
it to the database ?
thanx
John