html form input type="date" display datetime code example Example: input datetime <input type="datetime-local">