Nodejs Minute Format getFullMinutes()

Here you can find the source of getFullMinutes()

Method Source Code

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

Related

  1. getFullMinutes()
    Date.prototype.getFullMinutes = function () {  
      if (this.getMinutes() < 10) {
        return '0' + this.getMinutes();
      return this.getMinutes();
    };