Here's one that works fine for me. It display the local time on your
computer:
Put the script below in the HEAD section of your page or in a common js
file.
<!-- Output Header Time display -->
<script>
function padout(number) { return (number < 8) ? '0' + number : number; }
function updateClocks() {
now = new Date();
document.forms[0].timenow.value = padout(now.getHours()) + ':' +
padout(now.getMinutes()) + ':' + padout(now.getSeconds());
now.setTime(now.getTime() - (1000*60*60*12));
setTimeout('updateClocks()',500);
}
</script>
----------
Put the code below where you want the clock to display. Add text as desired.
<form name="time">
<font face="Arial, Helvetica,
sans-serif"><b><input
name="timenow" type="text" size="6">
<script language="JavaScript" type="text/javascript">
updateClocks()
</script>
</b></font>
</form>
Larry
The best option is to use a server-side script which pull the time from the hosting server. You
would have to adjust the time display to match your time zone. How you would do this depending on
what server-side scripting your web supports.
You can also use JavaScript, just do a search in IE address bar as:
? JavaScript Date and Time Scripts.
--
For your security and peace of mind ALL emails are automatically scanned
with the latest Norton AV Virus Definitions. Not that I have any virus'
but why not be careful! I get virus signature updates regularly!
A Belt and Suspenders are the best security invented!