title: Save date/time from PHP to SQL
body: <p>I want to save the date and time from PHP to SQL. Here is the SQL statement to insert new record (found in a method within a class):</p>
  
  <pre><code>INSERT INTO tbl_reviews (headline, text, date, rating, product_id, username)
              value (:headline, :text, :date, :rating, :product_id, :username)
  </code></pre>
  
  <p>And in my .php page, I call the current date and time using <code>$_SERVER['REQUEST_TIME']</code>. But still I'm getting the error "Incorrect datetime value". What can I use to get the date?</p>