Javascript Date dateToJSON()

Description

Javascript Date dateToJSON()

Date.prototype.dateToJSON = function() {
 return this.toJSON().substring(0, 11);
};



PreviousNext

Related