//Le GAG || info@lolitadesign.net :: getFirstDay() //Renvoie quel jour tombe le premier du mois // ------------------------------------------- Date.prototype.getFirstDay = function(year,month) { this.setUTCFullYear(year,month,1); var day = this.getDay(); return day; }