I am using jQuery
datetime picker and I want to pick only time
without date
, when I click on input I get only hours
. How I can resolve this?
$(document).ready(function() {
$.datetimepicker.setDateFormatter('moment');
$(".timepicker").datetimepicker({
datepicker: false,
minuteStepping: 15,
format: 'hh:mm tt',
pickTime: true,
defaultDate: new Date(1979, 0, 1, 8, 0, 0, 0),
language: 'en',
use24hours: true,
timeOnly: true,
});
})
Actually I want to select minutes too, but I don't get that as option.
Did you try to use their timepicker?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.