SHARE
TWEET

Untitled

a guest Feb 27th, 2020 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div id="zegarek" style="FONT-WEIGHT:bold;SIZE:16PX;COLOR:black; MARGIN-RIGHT: 4PX;"></div>
  2. <script type="text/javascript">
  3. function zegareczek() {
  4. var data = new Date();
  5. var godzina = data.getHours();
  6. var min = data.getMinutes();
  7. var sek = data.getSeconds();
  8.  var terazjest = ""+godzina+
  9. ((min<10)?":0":":")+min+
  10. ((sek<10)?":0":":")+sek;
  11. document.getElementById("zegarek").innerHTML = terazjest;
  12. setTimeout("zegareczek()", 1000); }
  13. zegareczek();
  14. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top