title: date.getTime is not a function
body: <p>I am trying to compare some dates in javascript/jquery. But I am getting some error. What I did wrong here?</p>
  
  <pre><code>dayRender: function (date, cell) {
     console.log(date.getTime())
  }   
  </code></pre>
  
  <p>//here am geting date.getTime is not a function</p>
  
  <p>Here is my function:</p>
  
  <pre><code> $scope.myFunction =function(balance){
      $('#fullCalendar').fullCalendar({
          defaultDate: balance.defaultDate,
          editable: true,
          eventLimit: true,           
          events: [
              {
                  title: balance.title,
                  start: balance.startDate                
              }
          ],
  
           dayRender: function (date, cell) {  // This is the callback function to modify a particular date cell.
              console.log(date.getDate());   //undefined
          }   
      });
  }
  </code></pre>