title: Incorrect parameter count in the call to native function 'DATEDIFF'
body: <p>I get the error from this line</p>
  
  <pre><code>SELECT table.field
  FROM table
  WHERE table.month = 'october'
  AND DATEDIFF(day, table.start_date, table.end_date) &lt; 30
  </code></pre>
  
  <p>The dates in my column are in the format m-d-yy</p>
  
  <p>Do I need to convert this to a different format? If so how?</p>
  
  <p>Using MariaDB</p>