Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript add days

Date.prototype.addDays = function(days) {
    var date = new Date(this.valueOf());
    date.setDate(date.getDate() + days);
    return date;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #add #days
ADD COMMENT
Topic
Name
4+5 =