Javascript Date onlyTime()

Description

Javascript Date onlyTime()


Date.prototype.onlyTime = function () {
  return this.toTimeString().split(" ")[0];
};



PreviousNext

Related