有没有办法让startDate从当前时间开始是15分钟,如下所示:
var currentDate = new Date();
var fifteenminslater - new Date(currentDate.getTime() + (20*60*1000));
$( ".datepicker" ).datetimepicker({
pickTime: true,
pick12HourFormat: true,
startDate: fifteenminslater });
我认为startDate只知道日期,而不是时间。是否有类似于startDate的东西会让我弄乱时间?