The HTML <input type=”datetime-local”> is used to define a date and time control. The value must include the year, month, day and time.
Supported Browsers: The browsers supported by <input type=”datetime-local”> are listed below:
- Google Chrome 20.0
- Internet Explorer 13.0
- Opera 10.1
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.