SHARE
TWEET

Untitled

a guest Oct 14th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4.     <script type="text/javascript">
  5.     var data = new Date();
  6.    
  7.     function changeData()
  8.     {
  9.         var hour = data.getHours();
  10.         var minute = date.getMinutes();
  11.         var second = date.getSeconds();
  12.        
  13.         document.getElementById("field").innerHTML = minute;
  14.     }
  15.     </script>
  16. </head>
  17. <body onload="changeData();">
  18.     <div id="field"></div>
  19. </body>
  20. </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