Answers for "daterangepicker set maxdate"

0

daterangepicker set maxdate

var date2 = new Date();
date2.setDate(date2.getDate()-1);
console.log(date2);
$('#daterange').daterangepicker({
    showDropdowns: false,
    format:'MM/DD/YYYY',
    maxDate:date2,
    autoclose: true,
    autoApply:true,

});
Posted by: Guest on June-19-2020

Code answers related to "daterangepicker set maxdate"

Code answers related to "Javascript"

Browse Popular Code Answers by Language