Nowa data () w JavaScript za 3 dni
var dt = new Date();
dt.setDate(dt.getDate() + 3);
Thoughtful Tuatara
var dt = new Date();
dt.setDate(dt.getDate() + 3);
Date.prototype.addDays = function(days) {
var date = new Date(this.valueOf());
date.setDate(date.getDate() + days);
return date;
}
var date = new Date();
console.log(date.addDays(5));