IHYPRESS.NET
JAVASCRIPT
HOME | ASP | C | CSS | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
JavaScript ❯ Time/Date Display
<12>
<!DOCTYPE html> <html> <head> <script> function TimeDate() { document.getElementById("td").innerHTML=Date(); } </script> </head> <body> <div id="td">The time and date will appear here!</div> <button type="button" onclick="TimeDate()">Show Time & Date</button> </body> </html>
The time and date will appear here!
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.