Question: how to find difference between two dates in moment js?
Answer: var start=moment(1541243900000); var end=moment(1541243942882); var duration = moment. duration(end. diff(startTime)); var hours = duration.