title: Incorrect parameter count in the call to native function 'DATEDIFF'
body: <p>running this line of code :</p>
  <pre><code>SELECT DATEDIFF(DAY,'2014-06-05','2014-08-05') AS DiffDate 
  </code></pre>
  <p>I receive the error</p>
  <blockquote>
  <p>Error Code: 1582</p>
  <p>Incorrect parameter count in the call to native function 'DATEDIFF'</p>
  </blockquote>
  <p>Could you please help me solve this issue?</p>
  <p>I use SQLyog Community - MySQL GUI v12.09</p>
  <p>Thanks a lot,</p>
  <p>Carlo</p>