flatpickr

https://github.com/chmln/flatpickr

examples


dependencies
  <input id="myDateTime">
  --- script ---
  var dt = moment().format();
  // moment not strictly needed, but minutes do not work for defaultDate if you don't
  document.getElementById("myDateTime").flatpickr({
    dateFormat: 'n/j/y h:i K',
    defaultDate: dt,
    allowInput: true,
    enableTime: true,
    minDate: dt
  });