title: How to get only date part while using dateadd() and getdate()
body: <p>I want to display records of last 4 months from current date.</p>
  
  <p>I don't want to consider time</p>
  
  <p>How can I get just date part from the below query?</p>
  
  <pre><code>where OrderDate &gt;= DATEADD(month, -4, GETDATE()) 
  </code></pre>