javascript now + 1 day code example
Example 1: js date add 1 day
let date = new Date();
// add a day
date.setDate(date.getDate() + 1);
Example 2: javascript get 1 hour from now
Date.prototype.addHours = function(h) {
this.setTime(this.getTime() + (h*60*60*1000));
return this;
}