I want the date on the first DateTimePicker to be the MinDate on the second one,I found some solutions but they were about DatePicker and doesn't work
This is my code:
$(document).ready(function(){
$('#arrival').datetimepicker({
locale: "<?php echo $lang['datetimepicker_lang']; ?>",
format: "<?php echo $lang['datetimepicker_format']; ?>",
});
$('#departure').datetimepicker({
locale: "<?php echo $lang['datetimepicker_lang']; ?>",
format: "<?php echo $lang['datetimepicker_format']; ?>",
});
});