I have a texbox where the current time is shown in 24hrs format, as follows.
var horaactual= moment(new Date()).format('H:mm'); $('#txthora').val(horaactual);
My objective is to add the current time of the first field with the number of a second field, but I don't know how to indicate that this number interprets them as minutes, since I need it to add them. Example:
txthora: 20:27 - txtnumero: 7. result : 20:34.
I need help to express it in js.