0
I want to make real time analog clock please suggest me how to do??
2 Antworten
0
You can do that in javascript:
setInterval(function clock(){
var T = new Date;
document.getElementById("second").innerHTML = T.getSeconds;
document.getElementById("minute").innerHTML = T.getMinutes;
document.getElementById("hour").innerHTML = T.getHours;
},1000)