I\'m having problems getting the date inserted properly into my database.
$date = date(\'m/d/Y h:i:s\', time());
I use this format, and, it
"datetime" expects the date to be formated like this: YYYY-MM-DD HH:MM:SS
so format your date like that when you are inserting.