0

how to implements optional hour range in jquery datetimepicker from 9am - 9pm?

3lviend
  • 243
  • 5
  • 13

1 Answers1

1

You can try this plugin: http://trentrichardson.com/examples/timepicker/ And apply the restriction like:

$('#rest_example_1').timepicker({
    hourMin: 8,
    hourMax: 16,
    //Other options here
});
K K
  • 17,794
  • 4
  • 30
  • 39