I know I can do anything and some more envolving Dates with momentjs. But embarrassingly, I\'m having a hard time trying to do something that seems simple: geting the differ
Use this,
var duration = moment.duration(endDate.diff(startDate)); var aa = duration.asHours();