Javascript Date addMinutes(m)
Date.prototype.addMinutes = function(m) { this.setTime(this.getTime() + (m*60*1000)); return this; }
Date.prototype.addMinutes= function(m){ this.setMinutes(this.getMinutes()+m); return this;/* w w w . ja v a 2 s . com*/ }