I am using the below code to insert a date into a date/time field in SQL. The problem I have is that it wlays inserts the date 01/01/1900 into the table column and I can't figure out any reason for this.
SQLInsert = "INSERT INTO projects(date) VALUES (" & newDate &"
"
Set user = Con.Execute(SQLInsert)
Set user = Nothing
SQLInsert = "INSERT INTO projects(date) VALUES (" & newDate &"
Set user = Con.Execute(SQLInsert)
Set user = Nothing