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