Posts by Lucas • 11 points
1 post
-
1
votes4
answers72
viewsQ: Get minutes between two times
var dtChegada = "16:40"; var dtPartida = "11:20"; var ms = moment(dtChegada,"HH:mm").diff(moment(dtPartida,"HH:mm")); var d = moment.duration(ms); var s =…