// JavaScript Document hour = 13; minute = 53; second = 19; function saat() { second=second+1; if (second==60) { second = 0; minute = minute+1; if (minute==60) { minute = 0; hour = hour+1; if(hour==24) { hour = 0; } } } SaatGoster(hour,minute,second); } function SaatGoster(x,y,z) { if(x<10){ x="0"+x; } if(y<10){ y="0"+y; } if(z<10){ z="0"+z; } document.getElementById("saat").innerHTML=x+":"+y+":"+z; setTimeout(saat,1000); }