Javascript Date addMonths( months )

Description

Javascript Date addMonths( months )

Date.prototype.addMonths = function ( months ) {
  this.setMonth( this.getMonth() + months ); 
};



PreviousNext

Related