Here's the script


Here it is in action -->>:


Now let's try it in a table (scripts are often buggy in tables)

---

Works great!

Now let's see how this looks at

http://www.nvcc.edu/home/nvwillj/js_date_test.htm

http://classweb.gmu.edu/classweb/jwilliam/js_date_test.htm

http://mason.gmu.edu/~jwilliam/js_date_test.htm

Yup, it breaks on the NVCC server (NT/MIIS), but works on both GMU UNIX servers (unsure of HTTP server).  You can also get a different result by saving the page onto your local drive (it displays correctly on my local drive)

The moral of the story: The way I've been told, date and time scripts rely on this information being returned from the server in a particular form.  Not all servers return the date/time info in the same form (I'm told similar problems happen with international variations in date form), so not all date/time scripts work on all servers.

For the NT/MIIS server, I've read examples of the same thing done with ASP.  I'll look into this later on...


One last test of an unrelated script

The URL of this page is

The URL of this page is