Add milliseconds to a Date - Node.js Date

Node.js examples for Date:Second

Description

Add milliseconds to a Date

Demo Code

Date.prototype.addMilliseconds = function(count)
{
  this.setMilliseconds(this.getMilliseconds() + count);
};

Related Tutorials