<html>
<body>
Time: <input type="time" id="myTime">
<p>Click the button to set a time for the time field.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
document.getElementById("myTime").value = "22:53:05";
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_input_time_value by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:47:30 GMT -->
</html>