<html>
<body>
Time: <input type="time" id="myTime" value="16:32:55">
<p>Click the button to decrement the value of the time field by 10 minutes (each time you click).</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
document.getElementById("myTime").stepDown(10);
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_input_time_stepdown by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:47:30 GMT -->
</html>