HTML Input Control Elements DateTime (Global)


The input element with a type attribute whose value is "datetime" represents a control for setting the element’s value to a string representing a global date and time (with timezone information).

   <p><label>Meeting time: <input type=datetime name="meeting.start"></label>

Permitted attributes:

  • global attributes
  • name
  • disabled
  • form
  • type
  • autocomplete
  • autofocus
  • list
  • min & max
  • step (float)
  • readonly
  • required value