title: Mysql select where date = now if Y-m-d H:i:s
body: <p>How to <code>SELECT</code> rows of a particular day if date format is <code>Y-m-d H:i:s</code>?</p>
  
  <p>I.e. I'd like to select rows like:</p>
  
  <pre><code>WHERE DATE(datet) = '2013-08-07'
  </code></pre>
  
  <p>but values are: <code>2013-08-07 11:23:45</code></p>