Javascript Date getFullMinutes()

Description

Javascript Date getFullMinutes()


//Helpers/*w  w  w.  j a  v  a  2 s.  c  o m*/
Date.prototype.getFullMinutes = function () {
   if (this.getMinutes() < 10) {
       return '0' + this.getMinutes();
   }
   return this.getMinutes();
};



PreviousNext

Related