title: Moment JS - check if a date is today or in the future
body: <p>I am trying to use <code>momentjs</code> to check if a given date is today or in the future.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://momentjs.com/downloads/moment.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  
  var SpecialToDate = '31/01/2014'; // DD/MM/YYYY
  
  var SpecialTo = moment(SpecialToDate, "DD/MM/YYYY");
  if (moment().diff(SpecialTo) &gt; 0) {
      alert('date is today or in future');
  } else {
      alert('date is in the past');
  }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>The code is evaluating my date (31st of Jan 2014) as a date in past. </p>
  
  <p>Any idea what I am doing wrong?</p>