0
How to get clock in JS?
What is the syntax for writing a clock on the website HH:mm:ss:ms var d=new Date(); document.write(d.getSeconds()) How to update?
2 Answers
+ 1
setInterval(1000);
1000 is milliseconds
+ 1
Can You write a code, please?
What is the syntax for writing a clock on the website HH:mm:ss:ms var d=new Date(); document.write(d.getSeconds()) How to update?