Also wanted to add.... Javascript is loaded on the clients pc. Not the server. What you will want is php. If you want the time to show in realtime then you will want to use javascript in conjuction. Hope this helps.

Php will always return the current remaining time to the browser. And whenever a time is returned to the browser, javascript will start countdown. So, javascript is a stupid machine in this example. Php does everything.