Articles → HTML 5 → Datetime-Local Input Element In Html5
Datetime-Local Input Element In Html5
Purpose
Syntax
<input type="datetime-local"/>
Example
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
</head>
<body>
<form>
<input type="datetime-local" /> </form>
</body>
</html>
Try It
Output
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
13.0 | Not supported | 20.0 | Not supported | 10.1 | Yes |