<script type="text/javascript">
function aff_hd()
{
var mois=new Array(13);
var time=new Date();
var month=time.getMonth() + 1;
var date=time.getDate();
var year=time.getFullYear();
var my_date= new Date();
var hour=my_date.getHours();
if(month<10)
{ month="0"+month; }
var minute=my_date.getMinutes();
if(minute<10)
{ minute="0"+minute; }
var second=my_date.getSeconds();
if(second<10)
{ second="0"+second; }
code = '<div style="background-color: #FFFFFF; width:70px; height:25px; border-width: 1px; border-style: dotted; align="center";>';
code=code+ '<font face=Verdana color=#000000 size=1>'
code=code+ date + "/" + month + "/" + year + "<br />"
code=code+ hour + ":" + minute + ":" + second;
code=code+"</font></div>";
horloge.innerHTML = code ;
setTimeout("aff_hd()",1000);
}
</script>

Comments