Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

date add hours javascript

Date.prototype.addHours = function(h) {
  this.setTime(this.getTime() + (h*60*60*1000));
  return this;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #date #add #hours #javascript
ADD COMMENT
Topic
Name
6+4 =