Javascript Date addMinutes(mins)

Description

Javascript Date addMinutes(mins)

Date.prototype.addMinutes = function(mins)
{
    return new Date(this.valueOf() + (mins * 60 * 1000));
}



PreviousNext

Related