Answers for "how to set date html"

1

set date input html using js

document.getElementById("datePicker").valueAsDate = new Date()
Posted by: Guest on March-27-2021
9

html date

<label for="meeting">Next meeting (August 2021):</label>
<input type="date" 
       id="meeting" 
       name="meeting"
       min="2021-08-01" 
       max="2021-08-31"
       defaultValue="2021-08-01">
Posted by: Guest on March-20-2021

Code answers related to "how to set date html"

Browse Popular Code Answers by Language