var duration = moment.duration(end.diff(startTime)); var hours = duration.asHours();
References
https://stackoverflow.com/questions/25150570/get-hours-difference-between-two-dates-in-moment-js
var duration = moment.duration(end.diff(startTime)); var hours = duration.asHours();
References
https://stackoverflow.com/questions/25150570/get-hours-difference-between-two-dates-in-moment-js