Answers for "how to add date in java script"

3

how to add date in java script

var someDate = new Date();
var numberOfDaysToAdd = 6;
someDate.setDate(someDate.getDate() + numberOfDaysToAdd);
Posted by: Guest on May-08-2021

Code answers related to "how to add date in java script"

Code answers related to "Javascript"

Browse Popular Code Answers by Language