title: Datepicker disable today and tomorrow if
body: <p>I got some trouble making an awesome feature for my datepicker. The things i want to do is:</p>
  
  <ol>
  <li>I want to disable TODAY, the user should not be able to select today's date</li>
  <li><p>If todays time is 11AM, it should disable TOMORROW aswell</p>
  
  <pre><code>$('#datetimepicker').datetimepicker({
      lang: 'da',
      timepicker: false,
      format: 'd/m/Y',
      formatDate: 'Y/m/d',
      // minDate: new Date().getHours() &gt;= 11 ? 1 : 0,
  });
  </code></pre></li>
  </ol>
  
  <p>I have been look around other examples on stackoverflow but nothing worked. So nows my time to try my luck!</p>
  
  <p>Many thanks beforehand!</p>