Answers for "add 15 days to date in javascript"

1

javascript current date add 30 days

var future = new Date();
future.setDate(future.getDate() + 30);
Posted by: Guest on April-26-2020
10

javascript add day to date

function addDays(date, days) {
  var result = new Date(date);
  result.setDate(result.getDate() + days);
  return result;
}
Posted by: Guest on May-17-2020

Code answers related to "add 15 days to date in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language