Tipo de entrada Data Formato DD-MM-YYYY JavaScript
<input type="date" name="begin" id="date" placeholder="dd-mm-yyyy" value="" min="1997-01-01" max="2030-12-31">
<script>document.getElementById("date").value</script>
Undefined