This JavaScript code snippet will create a digital clock that works well in the right setting.



Place This Code Into The HEAD of Your HTML Document


Place This Code Into The BODY TAG of Your HTML Document


Place This Code Into The BODY AREA of Your HTML Document

Simply Cut and Paste Script & Style codes

Be sure to properly place scripts positions in head & body of html
Be sure to install the onload command directly in body tag
Install the "span class" tag in body area

This script has been in the JavaScript.com Public Library.