datetime picker in html 5 code example
Example 1: date picker in html
<label for="birthday">Birthday:</label>
<input type="date"
id="birthday" name="birthday">
Example 2: html datetime picker
<label for="birthdaytime">Birthday (date and time):</label>
<input type="datetime-local"
id="birthdaytime" name="birthdaytime">