moment.js

Difference between two moment objects:

https://momentjs.com/docs/#/displaying/difference/