Nodejs Minute Format getFullMinutes()

Here you can find the source of getFullMinutes()

Method Source Code

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();
};

Related

  1. getFullMinutes()
    Date.prototype.getFullMinutes = function () {
      return ('0' + this.getMinutes()).slice(-2);
    };