<div id="datepp" class="md-form md-outline input-with-post-icon datepicker">
$('.datepicker').datepicker({format: 'yyyy/mm/dd', formatSubmit: 'yyyy/mm/dd', min: [2020,10,1], max: [2021,09,31]});