How to disable past date in daterangepicker?
<p>I using two date selected daterangepicker. this working perfect but how to disable past date. below is my code</p>

js/site/daterange/moment.min.js">

<pre><code>    &lt;script type="text/javascript" src="&lt;?php echo base_url();?&gt;js/site/daterange/daterangepicker.js"&gt;&lt;/script&gt;
    &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo base_url();?&gt;css/site/daterangepicker.css" /&gt;
    &lt;script type="text/javascript"&gt;
      $(function() {
      $('input[name="checkin"],input[name="checkout"]').daterangepicker({
          autoUpdateInput: false,
          locale: {
              cancelLabel: 'Clear'
          }
      });

      $('input[name="checkin"],input[name="checkout"]').on('apply.daterangepicker', function(ev, picker) {
          //$(this).val(picker.startDate.format('MM/DD/YYYY') + ' - ' + picker.endDate.format('MM/DD/YYYY'));
          $('#checkin').val(picker.startDate.format('MM/DD/YYYY'));
          $('#checkout').val(picker.endDate.format('MM/DD/YYYY'));

      });

      $('input[name="checkin"],input[name="checkout"]').on('cancel.daterangepicker', function(ev, picker) {
          $(this).val('');
      });

      });
</code></pre>

<p></p>