Javascript Date getFistDay()

Description

Javascript Date getFistDay()

Date.prototype.getFistDay = function () {
    var here = new Date(this.getFullYear(), this.getMonth(), 1);
    return here.getDay();
};



PreviousNext

Related