texasswede
12/07/2017, 11:42 PMvar effDate = moment();
var expDate = moment().add(1,'years');
Then you just do effDate.format('MM/DD/YYYY')
to get the date as a string.
Anyone not using moment.js for date functions is working much harder than they need... No excuse not toi use it.