title: Sails JS - Waterline ORM - Query Date only, not Time
body: <p>Looking to query against the <strong>date only</strong> anyone encountered this?</p>
  
  <p>Sample code:</p>
  
  <pre><code>    ////MODEL
      module.exports = {
        attributes: {
          date: {
              type: 'date',
              required: true
          }    
        }
      };
  
      ////CONTROLLER
      var today = moment().toISOString();
  
      var queryObj = { date: today };
      var newDay = { date: today };
  
      Day.findOrCreate(queryObj, newDay).exec(function(err, day) {            
          console.log(day)
      });
  </code></pre>
  
  <p>Obviously this creates a new record on each refresh, as the iso string will change with each passing second.</p>
  
  <p>Thanks for the help!</p>