Add date to a Date - Node.js Date

Node.js examples for Date:Date Calculation

Description

Add date to a Date

Demo Code

Date.prototype.addDate = function(count)
{
  this.setDate(this.getDate() + count);/*www  . ja va2  s  .  c o m*/
};

Related Tutorials