HTML5 date and time picker - accurate to hours, minutes and seconds

In the past, Bootstrap's date and time selection plugin was used. In this case, the first js file needs to be introduced. In fact, using HTML5 can quickly achieve the goal:

<!DOCTYPE HTML>
<html>
<body>

<form action="/example/html5/demo_form.asp" method="get">
Date and time: <input type="datetime-local" step="01" name="user_date" />
<input type="submit" />
</form>

</body>
</html>

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325655705&siteId=291194637