IHYPRESS PROGRAMMING
Tutorials and JavaScript programs with code and output for beginners
c programming
HOME | ASP | C | CSS | GNUPLOT | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
arrow_circle_left
share
arrow_circle_right
JavaScript ❯ Time/Date Actualization
<12>
<!DOCTYPE html> <html> <head> <script> let oneSecond = setInterval(startClock, 1000); function startClock() { document.getElementById("td").innerHTML=Date(); } function stopClock() { clearInterval(oneSecond); } </script> </head> <body> <div id="td">The time and date will appear here!</div> <button type="button" onclick="stopClock()">Stop Live Time & Date</button> </body> </html>
Hergestellt in Deutschland / Made in Germany
The time and date will appear here!
COPYRIGHT © 2015-2025 IHY PRESS Frankfurt am Main 60329 Deutschland