Add Month to a Date - Node.js Date

Node.js examples for Date:Month

Description

Add Month to a Date

Demo Code

Date.prototype.addMonth = function(count)
{
  this.setMonth(this.getMonth() + count);
};

Related Tutorials