Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript add day to date

function addDays(date, days) {
  var result = new Date(date);
  result.setDate(result.getDate() + days);
  return result;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #add #day #date
ADD COMMENT
Topic
Name
8+6 =