Javascript Date toUnixTime()

Description

Javascript Date toUnixTime()

Date.prototype.toUnixTime = function() {
    return Math.round(this.getTime() / 1000);
};



PreviousNext

Related