How can i disable my past date from the current date. I check already the other threads but its not working in my codes.
<script>
$("#checkinDate").datetimepicker({
format: "yyyy-mm-dd",
startView: "month",
minView: "month",
autoclose: true,
todayBtn: true
});
$("#checkoutDate").datetimepicker({
format: "yyyy-mm-dd",
startView: "month",
minView: "month",
autoclose: true,
todayBtn: true
});
</script>