I have a column called today
and the type is DATE
.
When I try to add the date in the format \'07-25-2012\'
I get the following
I had a different cause for this error. I tried to insert a date without using quotes and received a strange error telling me I had tried to insert a date from 2003.
Although I was already using the YYYY-MM-DD format, I forgot to add quotes around the date. Even though it is a date and not a string, quotes are still required.