版权声明:创业:https://shop120085695.taobao.com https://blog.csdn.net/zxf1242652895/article/details/82115575
$('#scheduledEndTime').daterangepicker({
showDropdowns: true,
showWeekNumbers: false,
timePicker: true,
timePickerIncrement: 2,
singleDatePicker: true,
timePicker24Hour: true,
startDate: moment().add('days', 1),//表示今天的基础上加一天
});
加一天
startDate:moment().add('days',1),
加一小时
startDate:moment().add('hour',1),
加一周
startDate:moment().add('week',1),
加一月
startDate:moment().add('month',1),
加一年
startDate:moment().add('year',1),