Hi im new to using javascript and encountered a problem while using daterangepicker bootstrap. I manage do implement this demo that i got but I am stuck at getting the value of
var endDate= $("#IDOfDateRangePicker").data('daterangepicker').endDate.format('YYYY-MM-DD');
or other formats;
.endDate.format('YYYY-MM-DD'); .endDate.format('D MM YYYY'); .endDate.format('D MMMM YYYY');