Javascripts > Javascript Clocks > Display Time and Document URL
Script Title: Display Time and Document URL
Description: Display the current time plus the document's URL conveniently using this script.
Example: Available
Copy the following code between the <BODY></BODY> tags of your html page.<script> /* Display document URL and time script By Website Abstraction (http://wsabstract.com) and Java-scripts.net (http://www.java-scripts.net) */ var today=new Date() document.write('<center>'+today.toString()+'<br>'+window.location+'</center>') </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email