home *** CD-ROM | disk | FTP | other *** search
-
- WorldTime v1.31
-
- © Copyright 1991 Jonathan Potter
-
- This program is freely distributable.
-
- ------------------------------------------------------------------------------
-
- WorldTime is a clock with a difference. It can show you the time in any city
- in the world, with 84 cities displayed at once.
-
- To run WorldTime, you must first either create or edit the WorldTime.cfg file.
- This file lives in either the S: directory or the current directory, and looks
- like this :
-
- -dData file - The data file to read the list of cities from
- -lpLocalCity - The city YOU are in
- -ltLocalTime - Difference between you and GMT (in hours)
- -opOtherCity - Another city to look at
- -otOtherTime - Difference between the other city and GMT
- -xClockXPos - Default X position of clock window
- -yClockYPos - Default Y position of clock window
- -tcColour - Pen colour for times in today
- -ycColour - Pen colour for times in yesterday
- -mcColour - Pen colour for times in tomorrow
- -ccColour - Pen colour for the clock at the bottom of the window
- -icColour - Pen colour for the names of the cities
- -i - Iconify start
-
- Only -lp and -lt are required. The others are optional. A sample configuration
- file might look like this :
-
- -lpAdelaide
- -lt9.5
- -opLondon
- -ot0
- -x100
- -y30
- -i
- -cc3
-
- In this file, the local city is Adelaide, and Adelaide is +9.5 hours from GMT.
- London is the other city whose time I want to look at, and London is 0 hours
- from GMT. The (x,y) coords of the clock window are 100,30, and I want the
- program to start in the iconified state (with the clock window open). The
- clock at the bottom of the main window is to be rendered in pen colour 3.
-
- The clock window displays the current time and date, as well as the amount
- of chip and fast memory free. If the -op and -ot flags are used, it also
- displays the current time and date in this specified city.
-
- If the -i flag is not specified, the program opens the main time window (this
- can also be reached by activating the iconified clock window and pressing the
- right mouse button).
-
- The program reads a list of 84 cities from a file. You may specify the name
- of this file by the -d flag in the configuration file. Otherwise, it looks
- for the file s:WorldTime.dat and then WorldTime.dat in the current directory.
- If the data file is not found, the program will not run.
-
- This data file has a list of cities and times, with one city and time on
- each line. For instance,
-
- Adelaide,9.5
- Algiers,0
- Barbados,-4
-
- This indicates that Adelaide is +9.5 hours from GMT. Algiers is on GMT, and
- Barbados is -4 hours from GMT.
-
- This window displays the current time and date for the city you are in (as
- specified in the configuration file), as well as the current time in the 84
- selected cities around the world.
-
- If a time is displayed with a + in front of it, it indicates that that city
- is currently in tomorrow (but tomorrow never comes :-). If it has a - in front
- of it, it is in yesterday. Cities of tomorrow and yesterday are also displayed
- in a different colour (which can be specified in the configuration).
-
- From the main time window, you can click on any of the cities to go back to
- the clock window, and watch the time in that city. For instance, if you decided
- you wanted to look at the time in San Francisco, you would simply click on
- that name. If, however, you click on the name of your local city (as
- specified in the configuration), you will return to the clock window, watching
- the city specified by the -op and -ot flags in the configuration.
-
- ------------------------------------------------------------------------------
-
- The source is included in the v1.1 release. A number of changes have also
- been made. This is at the request of several people. Have fun!
-
- ------------------------------------------------------------------------------
-
- I wrote this program because I am sick of having to work out manually
- the time in other countries (especially at 2am!) whenever I want to ring
- someone there. I hope you find it just as useful.
-
- Address author correspondance, donations, and enquiries about Directory Opus
- to :
-
- Jonathan Potter
- P.O. Box 289
- Goodwood, SA 5034
- Australia
-
- ph : (08) 2932788
- FidoNET : 3:680/829
- Internet : jpotter@itd.adelaide.edu.au
-