Javascript Date timeToString()
timeToString()
Date.prototype.timeToString = function() { return this.getHours() + ":" + (this.getMinutes() < 10? '0' : '') + this.getMinutes(); };