S
Stefan Richter
Hi, I am trying to enter data into a table,
but I got problems with my sql statement.
It's something like that:
Dim now As String = DateTime.Now.ToString
INSERT INTO table (date) VALUES(now)
I know there is also ToShortDateString but it didn't change my String in
anyway.
Atm the date in the SQL String looks like: 20.5.2004 09:00:00
and it should like like: 20-May-2004 09:00
Any idea how that is to be done???
Thx,
Stefan
but I got problems with my sql statement.
It's something like that:
Dim now As String = DateTime.Now.ToString
INSERT INTO table (date) VALUES(now)
I know there is also ToShortDateString but it didn't change my String in
anyway.
Atm the date in the SQL String looks like: 20.5.2004 09:00:00
and it should like like: 20-May-2004 09:00
Any idea how that is to be done???
Thx,
Stefan