Worldwide Time Keeping
by Mike Ironmonger

This program allows up to sixteen clocks to be displayed, each showing the time in a different location. The locations are specified in the file !WorldTime.Locations, along with their time difference, expressed as the local time (in 24 hour format) when the time is 1200 GMT.

When run, the program initially displays clocks for London, New York and Paris. Clicking Menu over any clock displays a menu containing four entries.

New clock leads to a submenu allowing a location to be chosen from the list given in the file !WorldTime.Locations. Any location which already has a clock displayed is greyed out. A clock is removed by closing its window.

GMT/BST leads to a submenu allowing GMT or BST to be chosen. Choosing one of these options results in the time read from the real-time clock being taken as GMT or BST as appropriate. Additionally, the user will be asked whether or not the real-time clock should be changed. Selecting OK changes the clock, while selecting Cancel doesn't.

Note that because of the way that the time differences are specified, the difference from GMT is constant throughout the year, and does not change between winter and summer. Therefore the displayed time may be incorrect during summer. Unfortunately there is no simple way around this problem, as there are many different systems of summer time in use throughout the world. One solution is to have a number of different location files, each one containing the correct offsets for a given time of year.

Choosing the Save status option saves the positions of all of the displayed clocks, so that the program will start up in the same state the next time that the program is run. The GMT/BST state is also saved. Finally Quit terminates the program.
