1<label for="meeting">Next meeting (August 2021):</label>
2<input type="date"
3 id="meeting"
4 name="meeting"
5 min="2021-08-01"
6 max="2021-08-31"
7 defaultValue="2021-08-01">
1<script>
2 function startDate() {
3 var d = new Date();
4 var days = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
5 var months = ["January","February","March","April","May","June","July","August","September","October","November","December"];
6 document.getElementById("date").innerHTML = days[d.getDay()]+" | "+d.getDate()+" "+months[d.getMonth()]+" "+d.getFullYear();
7 }
8startDate();
9</script>
10
11<body onload='startDate()'>
12 <div id='date'></div> <!-- use some css on #Date -->
13</body>