title: MySQL CURDATE() - yesteday is last day of the month
body: <p>I have some problem whith such <code>mysql_query</code></p>
  
  <pre><code>INSERT INTO table VALUES ('', CURDATE()-1)
  </code></pre>
  
  <p>why if yesteday is last day of the month</p>
  
  <p>the <code>CURDATE()-1</code> result is like <code>2010-04-00</code></p>
  
  <p>why not <code>2010-03-31</code></p>