Javascript Date addMonth()

Description

Javascript Date addMonth()

Date.prototype.addMonth = function(){
 this.setMonth(this.getMonth() + 1);//  ww w .  j  a va 2s.c o m
};



PreviousNext

Related