function date_complete() {
var now = new Date(), hours = now.getHours(), minutes = now.getMinutes(), seconds = now.getSeconds(), month = now.getMonth(), year = now.getYear(), date = now.getDate();
if (month == 0) { month = "janvier"; }
else if (month == 1) { month = "février"; }
else if (month == 2) { month = "mars"; }
else if (month == 3) { month = "avril"; }
else if (month == 4) { month = "mai"; }
else if (month == 5) { month = "juin"; }
else if (month == 6) { month = "juillet"; }
else if (month == 7) { month = "août"; }
else if (month == 8) { month = "septembre"; }
else if (month == 9) { month = "octobre"; }
else if (month == 10) { month = "Novembre"; }
else { month = "Décembre"; }
if (seconds < 10) seconds = "0" + seconds;
if (minutes < 10) minutes = "0" + minutes;
if (hours < 12) seconds = seconds + " Matin.";
else if (hours >= 12) seconds = seconds + " Après-midi.";
if (hours == 0) hours = hours + 12;
else if (hours >12) hours = hours - 12;
time.innerHTML = 'Le  '+date+' '+month+' '+year+' et il est '+hours+':'+minutes+':'+seconds+' ';
setTimeout('date_complete()',1000);
}