Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <script type="text/javascript">
  2. var now = new Date();
  3. var calMillisecs = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 17, 57, 0, 0) - now;
  4.  
  5. if (calMillisecs < 0) {
  6. calMillisecs += 86400000;
  7. }
  8.  
  9. setTimeout(function(){alert("Uhrzeit Erreicht !")}, calMillisecs);
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement