Web Page Clock

The BIOLOGY web servers now support a simple on-page clock. Here's an example:

On our server in Tucson, AZ the time is

You can also specify foreground, background and transparency colors:

Green numbers, transparent background -- the time is

To include a clock on your page, use this IMG tag with the appropriate arguments after the "?" as shown below:

< IMG SRC=/scripts/clock.exe?-arg1+-arg2 .....>

The arguments you can use to control the appearance of your clock are:

COLORS (in hexidecimal, eg. RED is FF0000):

-f[fg clr] - color to render foreground in.
-b[bg clr] - color to render background in.
-t[t idx] - index to color which should be transparent (normally 0)

FORMAT:

-l[LAYOUT] - specify format of time. (default: ZH:MM) CASE is SIGNIFICANT!

HH - 24-hour clock (no zero pad).
ZH - 24-hour clock (zero pad).
hh - 12-hour clock (no zero pad).
zh - 12-hour clock (zero pad).
MM - the minutes.
SS - the seconds.
m - the meridiem. (AM or PM).

An example: < IMG SRC=/scripts/clock.exe?-fff0000+-b0000ff+-lzh:MMm> produces the following display: