momentjs The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. The statement has been terminated code example
Example: moment date add
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');