Javascript Date FormatHHMMSS()

Description

Javascript Date FormatHHMMSS()

Date.prototype.FormatHHMMSS = function () {
 var hour = this.getHours().Format0(2);
 var minute = this.getMinutes().Format0(2);
 var second = this.getSeconds().Format0(2);
 return hour + minute + second;
}



PreviousNext

Related