datetime local attribute

<input type=datetime local>


Datetime Local Attribute enables user to enter the date and time with the time zone.

Example Code:

Result :

Enter the date and time:
  • Enter the date and time in the required input field.
  • The "Opera" browser shows the in calender structure and displays the time seperately.
  • In certain cases, the output shown will be the entered text by user, if the attribute is not applicable in a browser.


It will function only in Opera, Chrome and Safari browsers.

Ask Questions

Ask Question