Date simple
Codes à insérer entre les balises <BODY> et </BODY> de votre document HTML
<p><script language="JavaScript"> <!-- var thisday=new Date(); var day=thisday.getDay(); if (day == 0){document.write("DIMANCHE");} if (day == 1){document.write("LUNDI");} if (day == 2){document.write("MARDI");} if (day == 3){document.write("MERCREDI");} if (day == 4){document.write("JEUDI");} if (day == 5){document.write("VENDREDI");} if (day == 6){document.write("SAMEDI");} document.write(" "+thisday.getDate()+" "); var day=thisday.getMonth(); if (day == 0){document.write("JANVIER");} if (day == 1){document.write("FEVRIER");} if (day == 2){document.write("MARS");} if (day == 3){document.write("AVRIL");} if (day == 4){document.write("MAI");} if (day == 5){document.write("JUIN");} if (day == 6){document.write("JUILLET");} if (day == 7){document.write("AOUT");} if (day == 8){document.write("SEPTEMBRE");} if (day == 9){document.write("OCTOBRE");} if (day == 10){document.write("NOVEMBRE");} if (day == 11){document.write("DECEMBRE");} document.write(" 2000"); // --> </script></p> Cliquez ici pour tout sélectionner