Node.js examples for Date:Second
Get Two Digit Second from Date
Date.prototype.getTwoDigitSecond = function() { return (this.getSeconds() < 10) ? '0' + this.getSeconds() : this.getSeconds(); }