Javascript Date addMinutes(hours)

Description

Javascript Date addMinutes(hours)

Date.prototype.addMinutes = function(hours) {
    this.setMinutes(this.getMinutes() + hours);
    return this;/*  ww w . j a  v a2 s  . c  om*/
};



PreviousNext

Related