masklinn í dag viðrar vel til loftárása | Bidem a écrit :
Code :
- var date = new Date();
- var listeNbrJours = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
- var mois = date.getMonth();
- var nbJours = listeNbrJours[mois];
- if (isAnneeBisextile(date.getYear())) {
- nbJours++;
- }
|
Tu n'as plus qu'a coder la fonction isAnneeBisextile.
|
Doomsday for the Win ---------------
Stick a parrot in a Call of Duty lobby, and you're gonna get a racist parrot. — Cody
|