Javascript Date addMinutes(minutes)
'use strict';/* w w w . j a v a 2 s. co m*/ Date.prototype.addMinutes = function(minutes){ this.setMinutes(this.getMinutes() + minutes); return this; };
Date.prototype.addMinutes = function (minutes) { return new Date(this.getTime() + minutes * 60000); }
Date.prototype.addMinutes = function(minutes) { this.setMinutes(this.getMinutes() + minutes); return this;/*from w w w .j a va 2 s .co m*/ };
Date.prototype.addMinutes = function ( minutes ) {
this.setMinutes( this.getMinutes() + minutes )
};