Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html time input with second

document.getElementById("settime").value = "13:24:00";

<input id="settime" type="time" step="1" />

# We put seconds as a default value to the HTML input and it shows now the seconds as well.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #time #input
ADD COMMENT
Topic
Name
8+9 =