Show Time In Page Title

Displays the current time in the title of your web page.

About This Script

Place this code inside the <head> section of your page.

Demo

The script is running on this page. Look at the title shown on the tab to see it in action.

Code

<script> // Clock provided by http://www.top-site-list.com (function(){ function updateTitleTime() { var now = new Date(); var h = now.getHours(); var m = now.getMinutes(); var s = now.getSeconds(); m = padTime(m); s = padTime(s); document.title = h + ':' + m + ':' + s; } function padTime(i) { if (i < 10) { i = '0' + i; } return i; } setInterval(updateTitleTime, 1000); })(); </script>
More scripts

Do you want to expose your site to millions?
Do you want to be ranked higher in Google?
Do you want to be known as the best site in your niche?

Then look no further. Add your site in 3 simple steps. Sign up, Add your site and Start receiving votes! It only takes 10 seconds!

Sign Up to Top Site List Planet Now!

Login with one of these social networks...

Sign in with FacebookSign in with TwitterSign in with Google+Sign in with Yahoo!Sign in with LinkedIn

or create an account with your email...

Login To An Existing Account