I'm creating a calendar and I do not want to allow you to select past dates, in the js
I'm placing the following:
<script>
$('.datepicker-default').datetimepicker({
language:'es',
daysOfWeekDisabled: [0, 6],
todayHighlight: true,
autoclose: true,
startDate: '-0d',
format: 'dd/mm/yyyy hh:ii',
});
</script>
It works well for the day but for the hour not , since it is 4:05 pm and it does not allow me to select the 17 hours but it is enabled 18 hours (As I show in the image)