CLOCK CGI SCRIPT USAGE

The clock cgi script will put the current time on your web page. To use it put the following in your HTML file:

<img src="/scripts/clock.exe?arg1=

value1&arg2=value2&...&argn=valuen">

where the arguments are:

 

Argument
(* means
required)
Possible Values Meaning
format* One of:
  • 24hr
  • normal
  • secs
  • See examples below. This argument is case-sensitive
    simple yes or no Use a simple style if yes. See example below. The default is no.
    bgcolour RRGGBB or trans When using the simple style, specifies the background colour
    of the image, or if trans is used, specifies a transparent background.
    RRGGBB should be 3 2-digit hex values in one string, similar to the
    HTML command
    <BODY BGCOLOR="RRGGBB">. This argument has 
    no meaning when simple is not yes. The 
    default is 000000 (black).
    fgcolour RRGGBB When using the simple=yes, specifies the foreground colour of the image. Same format as bgcolour. The default is FFFFFF (white)

    Examples:

    <img src="/scripts/clock.exe?format=normal">

    <img src="/scripts/clock.exe?format=secs">

    <img src="/scripts/clock.exe?format=24hr">

    <img src="/scripts/clock.exe?format=24hr&simple=yes">

    <img src="/scripts/clock.exe?format=normal&

    simple=yes&bgcolour=FF00FF&fgcolour=00FF00">

    The simple style requires less disk I/O, and should execute much more quickly.