CGI : Scripts and Programs : Clocks

A Bit Like Clockwork

4.7/5 (3 votes cast)

A Bit Like Clockwork is a simple little CGI application for displaying the current date and time to visitors of your web page. The time/date is called via SSI. You may set a server offset for both Daylight Savings Time, and Standard time. This program runs under use strict, and -w and does not contain any cargo-culted code that so many other programmers have copied from certain clock scripts and used in their own incarnation.

mojoTime

4.3/5 (3 votes cast)

mojoTime is a fully customizable date and time script. It is language independent, and is not bound to any defined settings. It has unlimited settings. So you can just choose the best one for you. mojoTime can be used via SSI as well as JavaScript. SSI is not required.

Today!

5.0/5 (2 votes cast)

Today! is a Perl script that displays today's date on your web page using Server Side Includes. This script is basically a modified version of Matt Wright's get_date subroutine that he incorporates into many of his other scripts.

getdate2.cgi

4.0/5 (3 votes cast)

This is a time difference script for determining time on your hometown with reference to where you site is hosted in. It allows you to synchronize the time of the server to your set time.

TextClock

3.0/5 (3 votes cast)

TextClock is a Perl CGI script which can be used to show browsers several variations of the current time and/or date. Server Side Includes is required.

Basic SSI Text Clock

3.0/5 (2 votes cast)

This is a simple clock script that displays the current time in a text format on your Web page using Server Side Include (SSI).

Matt Churchyard's Clock

3.5/5 (2 votes cast)

This is a clock script that utilizes the localtime funtion. This can display the time in many different formats and also displays the date.

datepage.pl

5.0/5 (1 vote cast)

This script goes through a list of Web pages to change the "Last updated ..." string to the date the file was last modified. Run this script in UNIX after updating any html files. Any line beginning with $tag will be replaced with $update unless equal. Nothing will change if the $tag line matches the current file date.

Today Header

5.0/5 (3 votes cast)

This script is a Little Toy that displays the date, using an image to show the day. It users your servers localtime function, but if you wish to display a time that differs, you can add or subtract hours by setting the number to add or subtract in the head of the script. It uses SSI to show the date, and you can edit the font size and color as you wish.

Time

4.3/5 (3 votes cast)

A simple script to display today's date and the current time on your Web page. The time format, colour and size are customizable. SSI is recommended. Available in English and Russian.