moment js greater than 20 minutes code example
Example 1: compare two dates using moment
moment('2010-10-20').isAfter('2010-01-01', 'year'); // false
moment('2010-10-20').isAfter('2009-12-31', 'year'); // true
Example 2: moment date add
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');