I need to do a calculation with time type input values in my JS using jquery, how do I do this? is there a library ready?
<label for="">Inicio</label>
<div class="form-group">
<input type="time" class="form-control" id="inicio">
</div>
<label for="">Fim</label>
<div class="form-group">
<input type="time" class="form-control" id="fim">
</div>
$(function() {
$('#calcular').click(function(){
var inicio = $('#inicio').val();
var fim = $('#fim').val();
var ciclo = $('#ciclo').val();
});
});