Datetimpicker disable past times for today, enable for tommorow
<p>This is my jsfiddle: <a href="http://jsfiddle.net/vivpad/7s0a7m3p/7/" rel="nofollow">http://jsfiddle.net/vivpad/7s0a7m3p/7/</a> <br>
I am using <a href="http://eonasdan.github.io/bootstrap-datetimepicker/" rel="nofollow">http://eonasdan.github.io/bootstrap-datetimepicker/</a> with moment.js<br> </p>

<pre><code>&lt;div class="row"&gt;
  &lt;div class="col-md-12"&gt;
  &lt;h6&gt;datetimepicker1&lt;/h6&gt;

&lt;div class="form-group"&gt;
  &lt;div class="input-group date" id="datetimepicker1"&gt;
    &lt;input type="text" class="form-control" /&gt; &lt;span class="input-group-addon"&gt;&lt;span class="glyphicon-calendar glyphicon"&gt;&lt;/span&gt;&lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h6&gt;datetimepicker2&lt;/h6&gt;

&lt;input type="text" class="form-control" id="datetimepicker2" /&gt;
&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>My JQuery code is as follows</p>

<pre><code>$('#datetimepicker1').datetimepicker({
  format: 'DD/MM/YYYY'
});

$('#datetimepicker2').datetimepicker({
  format: 'LT'
});
</code></pre>

<p>I need following: </p>

<ul>
<li>If date selected is todays date, then in timepicker one should not be able to select previous time. Eg if I select todays date and current time is 2:11pm hen one should not be able to select 2:10 or before.</li>
<li>If Date selected is tomorrows or any date further, then the minimum time available to selection should be 10:00 AM.</li>
<li>In both the cases Max time available for selection should be 5:00 PM and not above that.</li>
<li>All previous dates before today should be disabled.</li>
</ul>