Putting the Current Date into a Web Page
Working with Days
Customizing a Message for the Time of Day
Displaying Dates by Time Zone
Converting Military Time to A.M./P.M.
Creating a Countdown
Moving an Object in the Document
To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Converting Military Time to A.M./P.M.
This HTML uses IDs to identify each of the radio buttons.