title: Error when inserting a datetime into mySql
body: <p>I have a table <code>reports</code> with a field <code>report_date</code>. Type of the field is set to <code>TIMESTAMP</code>.</p>
  
  <p>When I try to run the following query:</p>
  
  <pre><code>insert into reports (report_date) values (1990-03-25 02:16:36)
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Error Code: 1292. Incorrect datetime value: '1990-03-25 02:16:36' for
    column 'report_date' at row 1 0.000 sec</p>
  </blockquote>
  
  <p>However the query runs ok with the value <code>'1999-03-25 02:16:36'</code>.</p>
  
  <p>Why is this happening?</p>
  
  <p><strong>EDIT</strong>
  Here is a screen shot of the INSERT query:
  <a href="https://i.stack.imgur.com/g4yjF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g4yjF.png" alt="![enter image description here"></a>
  As you can see, I'm quoting the value date, but I'm still getting the error for <code>"1990-03-25 02:16:36"</code> but not for <code>"1991-03-25 02:16:36"</code>.</p>
  
  <p>I have inserted thousands of records this way. I just have a problem with this date. I have also tried it on Fiddle <a href="http://sqlfiddle.com/#!9/95c03/1/0" rel="nofollow noreferrer">here</a> and it works but not on my machine.</p>