Javascript Date addMinutes(h)

Description

Javascript Date addMinutes(h)

Date.prototype.addMinutes = function (h) {
    this.setTime(this.getTime() + (h * 60 * 1000));
    return this;//  w  w w .  j a v  a 2 s.  c o  m
};



PreviousNext

Related