-
Step 1
Learn HTML. Because HTML is the key to learning JavaScript, it is essential that you have the basics down.
-
Step 2
Learn JavaScript. Most well-functioning date/time codes are written in JavaScript.
-
Step 3
Visit sites that have the date and time on their page. You can select View Source from the View menu to look at the source code for the clock.
-
Step 4
Go to websites that offer free scripts, such as HotStyle or Webmonkey. These sites offer step by step directions for using free scripts, as well as links to other free script sites.
-
Step 5
Copy and paste the script to your web page. Test it in your browser before uploading to your web page.










