Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję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 odpowiedzi
+ 1
setInterval(1000);
1000 is milliseconds
+ 1
Can You write a code, please?