How would you check time difference from two text-boxes in Javascript?
You can use moment js for this purpose. momentJs 'fromNow()' will give you any time difference from current time.
var m1 = any date time on moment format; console.log(m1.fromNow());