Tambahkan 2 selama berjam -jam di Stempel Timestamp JS

Date.prototype.addHours= function(h){
    this.setHours(this.getHours()+h);
    return this;
}

alert(new Date().addHours(4));
Upset Unicorn