SHARE
TWEET

Untitled

a guest Feb 25th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="pl-PL">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <title>Data</title>
  6. </head>
  7. <body onload="wyswietlDate()">
  8.     <text id="t1"></text>
  9.     <script type="text/javascript">
  10.         function wyswietlDate() {
  11.             var d = new Date();
  12.             var dzien = ["poniedziałek","wtorek","środa","czwartek","piątek","sobota","niedziela"];
  13.             var miesiac =["Styczen","Luty","Marzec", "Kwiecien","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"];
  14.             document.getElementById("t1").innerHTML="Dzisiaj mamy " +dzien[d.getDay()-1]+"."+"<br>" +d.getDate()+" "+miesiac[d.getMonth()]+ " "+d.getFullYear()+"<br>"+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds();
  15.         }
  16.         setInterval(wyswietlDate,1000);
  17.  
  18.        
  19.        
  20.        
  21.     </script>
  22.  
  23. </body>
  24. </html>
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