Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <meta charset="utf-8">
- <head>
- </head>
- <body>
- <div id="cz">
- </div>
- <script type="text/javascript">
- czas= new Date();
- function hehe(){
- var czas= new Date();
- var godziny=czas.getHours()+":"+czas.getMinutes()+":"+czas.getSeconds();
- document.getElementById("cz").innerHTML=godziny;
- setTimeout("hehe()",1000);
- }
- hehe();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement