Javascript Date toShortString()

Description

Javascript Date toShortString()


Date.prototype.toShortString = function () {
    return this.getDate() + "/" + (this.getMonth() +1) + "/" + this.getFullYear();
};



PreviousNext

Related