title: Bootstrap daterangepicker selected start date + 30 days as maxDate
body: <p>I was wondering if someone could help me.  Using the Dan Grossman's Bootstrap Date Picker I want to add 30 days onto the selected start date and define that as the maxDate so a user can't select past this date.</p>
  
  <p>I'm really stuck on this and I can't find any docummentation relating to what I want to do.  Here is my code;</p>
  
  <pre><code>var min_date = new Date();
  var max_date = '05/31/2013';
  
  $('#limited').daterangepicker(
  {
      minDate: min_date,
      maxDate: max_date,
  },
  function(start, end) {
      $('#limited')
          .data("showAddEventDialogue_dateRangeStart", start)
          .data("showAddEventDialogue_dateRangeEnd", end);
  });
  </code></pre>
  
  <p>Any help or advice would be very much appreciated.</p>
  
  <p>Thanks a million.</p>