Chapter 13: Making Your Pages Dynamic

Return to Chapter 13

 

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.

Displaying Dates by Time Zone

See it run: Displaying Dates by Time Zone

Script 13.4

This HTML for the time zone script uses classes to tag the different offices with the time zone for that office.

Script 13.5

This JavaScript displays specified time zones, but you can adapt it to display any time zone you wish.