HTML5 - datetime
A date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC.
Example
<!DOCTYPE HTML>
<html>
<body>
<form action="/?originalUrl=https%3A%2F%2Fwww.tutorialspoint.com%2Fcgi-bin%2Fhtml5.cgi" method = "get">
Date and Time : <input type = "datetime" name = "newinput" />
<input type = "submit" value = "submit" />
</form>
</body>
</html>
Output
html5_web_forms2.htm
Advertisements