moment js date add time code example Example: moment js add day var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');