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>



Output



Click to Enlarge


Browser support


Internet ExplorerFirefoxChromeSafariOperaEdge
13.0Not supported20.0Not supported10.1Yes



Posted By  -  Karan Gupta
 
Posted On  -  Friday, November 23, 2018

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250