Tout pour site web
Horloges gratuites pour webmaster
Horloge heures texte simple
AJOUTER ENTRE LES BALISES BODY
<script> /* This script collects the current time from your computer and writes it to HTML format for the browser to display. Script by http://www.atouchofjamaica.com More great scripts at http://www.java-scripts.net Place this script anywhere in the body of your HTML. */ atoj = new Date(); atoj1= atoj.getHours(); atoj2 = atoj.getMinutes(); atoj3= atoj.getSeconds(); if(atoj1==0){atoj4=" AM";atoj1=12} else if(atoj1 <= 11){atoj4=" AM"} else if(atoj1 == 12){atoj4=" PM";atoj1=12} else if(atoj1 >= 13){atoj4=" PM";atoj1-=12} if(atoj2 <= 9){atoj2="0"+atoj2} document.write(""+atoj1+":"+atoj2+":"+atoj3+"<b>"+atoj4+"</b>"+""); </script>