<center> <form name="clock" onSubmit="0"> <input type="text" name="face" size=12 value=""> </form> </center> <script language="Javascript"> <!-- // please keep these lines on when you copy the source // made by: Nicolas - http://www.javascript-page.com function clock() { var now = new Date(); var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds() var c = ":" var ampm = " A.M." if (hours >= 12) { ampm = " P.M." } if (hours > 12) { hours = hours - 12 } if (minutes < 10) { minutes = "0" + minutes } if (seconds < 10) { seconds = "0" + seconds } var time = hours + c + minutes + c + seconds + ampm document.clock.face.value = time setTimeout("clock()",1000); } clock() //--> </script>