Javascript Date toYearString()

Description

Javascript Date toYearString()


Date.prototype.toYearString = function() {
  return ''+this.getFullYear();
}



PreviousNext

Related