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
$date = date('Y-m-d H:i:s'); with the type: 'datetime' worked very good for me as i wanted to print whole date and timestamp..
$date = date('Y-m-d H:i:s'); $stmtc->bindParam(2,$date);