Edit This Code:
<!DOCTYPE html>
<html>
<body>

<p>
Depending on browser support:<br>
A date picker can pop-up when you enter the input field.
</p>

<form action="action_page.php">
  Birthday (date and time):
  <input type="datetime" name="bdaytime">
  <input type="submit">
</form>

<p><b>Note:</b> type="datetime" is not supported in Chrome, Firefox, or Internet Explorer.</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy