Javascript Date get2nMinutes()
nMinutes()
Date.prototype.get2nMinutes = function () { var n = this.getMinutes(); return (n < 10) ? '0' + n : n.toString(); }