
JavaScript code to calculate two dates difference in Hours and Minutes
*This post is locked for comments
I have the same question (0)you can use moment.js library https://momentjs.com/
and here an example of what are you looking for
stackoverflow.com/.../hour-difference-between-two-timeshhmmss-ain-momentjs