Search code examples
jquerytimepicker

how to set time 24h for jquery timepicker


I used jquery library TimePicker let customers choose the time. http://jonthornton.github.io/jquery-timepicker/ and now I want it only displays the time in 24 hours starting from 0 am and ends at 23:59:59. anyone know how to handle it?


Solution

  • It has option for that, please read the document.

    you need;

         $('#testpick').timepicker({ 'show2400': true });