Home About Us Web Hosting Plans & Pricing Satisfied Customers Support & Help Contact Us
Active-Sites Support


Help Desk
Publishing your Web Site
Using FTP
Using Frontpage
Using SSL (Secure Web Sites)

Database
MySQL
Domain Names
New Domain Name
Transferring a Domain Name
Domain Registration Agreements

Server Side Includes
Random Image Generator
Random Link Generator
Random Text Generator

General Information
Frequently Asked Questions
Security Advisory Whitepaper

Email
Basic Start
Using Outlook
Using Outlook Express
Using Netscape Messenger

CGI Scripts
Installing your own CGI Scripts
Text Clock
Domain Lookup
Guestbook
Form Mail

If you need to contact us directly, or if you have an emergency with your service, you may call us at the numbers below.

Sales & Customer Service
General Administrative Offices
2431 Becket Circle
Stow, Ohio 44224
330-688-4209


Technical Services & Support
159 East State Street
Barberton, Ohio 44203
216-276-0586


email us at: support@active-sites.com

Text Clock Script

How to Call This Script From Your Web Page

Calling this script from a web page is fairly simple. You just use a standard
Server Side Include call, such as:

<!--#exec cgi="cgi-bin/textclock.pl"-->

You can also customize the output format by editing the variables in the file 'textclock.pl' in your cgi-bin.

There are up to nine variables in the textclock.pl script, however if you wish to receive the default display, you need not edit any of them. You can mix and match all of these options and see which kind of clock you like the best. You can get the clock to display only the day of the week, only the date, only the time, everything or make up your own combination!

$Display_Week_Day = '1';
If this option is set to '1', the day of the week will be displayed; Possible Values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday. Setting this option to '0' will suppress the printing of the Day of the Week.

$Display_Month = '1';
If this option is set to '1', the month will be printed. Possible values include: January, February, March, April, May, June, July, August, September, October, November and December. If this option is set to '0', the month will not be displayed.

$Display_Month_Day = '1';
If this option is set to '1', the day of the month is displayed, containing a value from 01 - 31. Setting this to '0' will hide the Day of the Month.

$Display_Year = '1';
If this option is set to '1', the four digit year is displayed, and it can be hidden by setting this to '0'.

$Display_Time = '1';
If this option is set to '1', a twenty four hour clock is displayed. Otherwise, if it is set to '0', it is supressed.

$Display_Time_Zone = '1';
Setting this to '1' allows users to your site to know what time zone the date is being displayed from. If it is set to '1', the script will determine if it is Daylight Savings or not. If so, it uses as the Time Zone to display. Otherwise it uses .

$Standard_Time_Zone = 'EST';
$Daylight_Time_Zone = 'EDT';

These are the names of your Time Zones. The ones shown above represent Eastern Coast Time Zones. Other ones in the US include Central Time (CST/CDT), Mountain Time (MST/MDT) and Pacific Coast Time (PST/PDT).

TODAY'S DATE: 2008-August-28, Thursday, 13:24:29



Copyright 2008 ® Active-Sites.com All Rights Reserved

About Us | Terms Of Use Policy | Privacy Policy | Web Hosting Packages


Contact Us

cheap web hosting by Active-Sites on linux web hosting affordable hosting solutions