title: How to compare only date in moment.js
body: <p>I am new to moment.js. I have a date object and it has some time associated with it. I just want to check if that date is greater than or equal to today's date, <strong><em>excluding the time when comparing.</em></strong></p>
  
  <pre><code> var dateToCompare = 2015-04-06T18:30:00.000Z
  </code></pre>
  
  <p>I just want to check if dateToCompare is equal or greater than today's date.
  I have checked isSame of moment.js, but it seems to take string and only the date part. But I do not want to convert my date to string or manipulate it further. Because I am worried that javascript may do something unexpected when converting that date to string(like adding the offset or dst,etc), or may be I am wrong.</p>
  
  <p>Sample isSame() from docs</p>
  
  <pre><code>moment('2010-10-20').isSame('2010-10-20');
  </code></pre>
  
  <p>Also I am looking for something like isSame() and isAfter() combined as one statement.</p>
  
  <p>I need to compare using moment.js only.Please do not suggest plain javascript date comparison.</p>