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  ---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
|