title: Datediff function() giving me wrong answer
body: <p>I am using <code>SELECT DATEDIFF(DD,$StartDate, $Today)</code> to calculate the number of days between 2 dates. <code>$$StartDate</code> is 2020-11-19 and <code>$Today</code> is current date (<code>$Today = date(&quot;Y-m-d&quot;);</code>). I am getting 28 days as the number of days which is not correct. What am I doing wrong?</p>