<input type="date" id="datepicker">
<script>
let DateToday=new Date();
let month=DateToday.getMonth()+1;
let day=DateToday.getDate();
let year=DateToday.getFullYear();
if(month<10)
month='0'+month.toString();
if(day<10)
day='0'+day.toString();
let Today=year+'-'+month+'-'+day;
let maxdate=year+1+'-'+month+'-'+day;
document.getElementById('datepicker').setAttribute("min",Today);
</script>