title: Jquery full calendar disable the past date
body: <p>how to disable the past date in fullcalendar.</p>
  
  <pre><code> $('#calendar').fullCalendar({
      editable: false,
      selectable: true,
      eventLimit: true,
      views: {
        agenda: {
          eventLimit: 1 // adjust to 6 only for agendaWeek/agendaDay
        }
      },
      select: function(start, end, allDay) {
        var check = $.fullCalendar.formatDate(start, 'yyyy-MM-dd');
        var today = $.fullCalendar.formatDate(new Date(), 'yyyy-MM-dd');
        if (check &gt;= today) {
          $('.addClass').addClass('sticky');
        }
      }
  
    });
  </code></pre>
  
  <p>this my code working fine, I can select from new Date only <code>addClass</code> also working fine. But If I select next month date the <code>addClass</code> is not working. <strong>Note</strong> I want to do this click only by using <code>select</code> option, not on <code>dayClick</code></p>