I use bootstrap datetimepicker and I want to disable the past days but startDate option did not work:
startDate
var now = new Date(); var tomorrow = now.g
You probably need to use the minDate option of the datetimepicker:
var tomorrow = new Date(); tomorrow.setDate(tomorrow.getDate() + 1); $("#end_at").datetimepicker({ format: 'YYYY-MM-DD HH:mm:ss', minDate: tomorrow });