function incrementDays(date, numberOfDays) {
      return new Date(date.getFullYear(), date.getMonth(), date.getDate() + numberOfDays);
    }
function incrementDays(date, numberOfDays) {
      return new Date(date.getFullYear(), date.getMonth(), date.getDate() + numberOfDays);
    }
function incrementDays ( date , numberOfDays ) { return new Date ( date . getFullYear ( ) , date . getMonth ( ) , date . getDate ( ) + numberOfDays ) ; }
Gets a new date incremented by the given number of days. Number of days can be negative.
@param {Date} date
@param {number} numberOfDays
@returns {Date}
Gets a new date incremented by the given number of days . Number of days can be negative .
Increment the days of the specified date