HTML Input Control Elements DateTime-Local


Example

5
<input type="datetime-local" />

Dependent on browser support, a date and time picker will pop up on screen for you to choose a date and time.