title: How to restrict end datetime based on dropdown selection in bootstrap date time picker
body: <p>Hi am trying to restrict end date time selection based on the drop down selection, say i have drop down ,Start date and End date. if i select option 1 from drop down the time difference should be in end date time picker from start date is half an hour , if i option 2 from date the time difference should be in end date time picker from start date is three hour</p>
  
  <p>Fiddle <a href="https://jsfiddle.net/0p813h0e/" rel="nofollow noreferrer">https://jsfiddle.net/0p813h0e/</a>
  </p>
  
  <pre><code>    &lt;div class="form-group"&gt;
      &lt;label class="col-xs-3 control-label"&gt;Notice Type&lt;/label&gt;
      &lt;div class="col-xs-3"&gt;
      &lt;select name="noticeType" class="form-control"&gt;
      &lt;option value=""&gt;Select&lt;/option&gt;
      &lt;option value="option1"&gt;option1&lt;/option&gt;
      &lt;option value="option2"&gt;option2&lt;/option&gt;
      &lt;option value="option3"&gt;option3&lt;/option&gt;
      &lt;/select&gt;
      &lt;/div&gt;                                          
      &lt;/div&gt;
  
          &lt;div class="input-append date form_datetime" data-date="2013-02-21T15:25:00Z"&gt;
              &lt;input size="16" type="text" value="" readonly&gt;
              &lt;span class="add-on"&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt;&lt;/span&gt;
              &lt;span class="add-on"&gt;&lt;i class="icon-calendar"&gt;&lt;/i&gt;&lt;/span&gt;
          &lt;/div&gt;
  &lt;div class="input-append date form_datetime" data-date="2013-02-21T15:25:00Z"&gt;
              &lt;input size="16" type="text" value="" readonly&gt;
              &lt;span class="add-on"&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt;&lt;/span&gt;
              &lt;span class="add-on"&gt;&lt;i class="icon-calendar"&gt;&lt;/i&gt;&lt;/span&gt;
          &lt;/div&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code> $(".form_datetime").datetimepicker({
          format: "dd MM yyyy - hh:ii",
          autoclose: true,
          todayBtn: true,
          startDate: "2013-02-14 10:00",
          minuteStep: 10
      });
  </code></pre>