jQuery UI: Date Picker

Date Picker

by Joe

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/mint-choc/jquery-ui.css">
    <input id="datepicker" type="date">

JavaScript

$(function() {
  minDate: +1,
  beforeShow: (function() {
    var dateTime = new Date();
    var hour = dateTime.getHours();
    if (hour >= 11) {
      $(this).datepicker("option", "minDate", "+1");
    }
  });
});