Is it possible to convert minutes seconds hundredths 00:00:00 to seconds. 10:00:00 becomes 600 secs? This is a general idea what I have
function time(){
var time = document.getElementById("timeEntered").value;
var a = time.split(":");
var timeToSeconds = (+a[0]) * 60 + (+a[1]) * 60 + (+a[2]);
}
<body>
<div>
<input type="text" id="timeEntered">
</div>
</body>