List of utility methods to do Minute Format
getFullMinutes()Date.prototype.getFullMinutes = function () { return ('0' + this.getMinutes()).slice(-2); }; | |
getFullMinutes()Date.prototype.getFullMinutes = function () { if (this.getMinutes() < 10) { return '0' + this.getMinutes(); return this.getMinutes(); }; |