Make a name on the Web
 
 
Windows 2000 Hosting Care

Installing a Clock

Installing a digital clock on your website

  • The script has been pre-installed for your virtual server.
  • Calling the script:

<IMG SRC="/cgi-public/Clock.exe?font=digits/neat&fmt=11&tz=8">

font=neat : Here the GIF characters is fetched from the directory 'neat'.

fmt=11: This specifies the Time'n'Date format wanted. The first digit specifies the date format and the second digit specifies the time format. This is how 24th of Dec 1996 15:23 would be shown in different formats:

 Clock
 Digit Date format Time format
0 (No date) (No format)
1 96-12-24 15:23
2 961224 03:23 PM
3 24.12.96 03:23 PM
4 24/12/96 N/A
5 12/24/96 N/A

If fmt= is omitted a value of 00 is used. This will return a 1x1 pixel transparent GIF.

tz=0 (Optional) This specifies the time zone relative to GMT in hours.
A value of 0 results in GMT. Some other tz values:

 
Time Zone Country/ Zone
-8 Pacific time (US & Canada)
-7 Mountain time (US & Canada)
-6 Central time (US & Canada)
-5 Eastern time (US & canada)
-4 Atlantic time (Canada)
1 Western Europe
2 Eastern Europe
3 Moscow
8 Singapore
9 Japan

Back to Windows Care

 
© Copyright 2005. IT Works Interactive.  Privacy   Disclaimer   AUP   Information Security Policy