Javascript Date addSecond()

Description

Javascript Date addSecond()

Date.prototype.addSecond = function(){
 this.setTime(this.getTime() + 1000);//  w  ww.  j  a  v  a  2  s . c om
};



PreviousNext

Related