get date out of date now in javascript code example
Example: how to get a due date from current date in javascript
var currentDate = new Date();
// to add 6 days to current date
var duedate = currentDate.addDays(6);
var currentDate = new Date();
// to add 6 days to current date
var duedate = currentDate.addDays(6);