Jquery Timepicker - schedule time to 6hrs from current time
<p>I have used a jquery timepicker, as below</p>

<p><img src="https://i.stack.imgur.com/WIrx5.jpg" alt="jQuery timepicker">
Below is my code : </p>

<pre><code>$('#timePicker').timepicker({
    'step': 15,
    'forceRoundTime': true,
    'timeFormat': 'H:i'
});
$('#timePicker').timepicker('setTime', new Date(new Date().getTime()+6*3600*1000));
</code></pre>

<p>My problem is that I am getting 6hrs ahead of my current time, but I also need to disable the previous time.</p>

<p>For example:</p>

<p>If current date time is 04th April, 2016 11.50 AM - then the time picker should show 04th April, 2016 17.50 PM, and if date is not today then time picker should allow all time to select.</p>

<p>Please let me know what changes should I make in my code?</p>