Here you can find the source of getFullMinutes()
Date.prototype.getFullMinutes = function () { // if min single diget add a 0 if (this.getMinutes() < 10) { return '0' + this.getMinutes(); }//from w ww. j av a 2 s . c om return this.getMinutes(); };
Date.prototype.getFullMinutes = function () { return ('0' + this.getMinutes()).slice(-2); };