TIme half a year from now node code example
Example 1: moment js add day
var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
Example 2: javascript get time ago with moment
const dateTimeAgo = moment("2020-04-04 11:45:26.123").fromNow();
console.log(dateTimeAgo); //> 6 minutes ago