home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Explore the World of Soft…e: Engineering & Science
/
Explore_the_World_of_Software_Engineering_and_Science_HRS_Software_1998.iso
/
programs
/
datetime
/
sunclock.txt
< prev
next >
Wrap
Text File
|
1997-09-18
|
864b
|
20 lines
Sun Clock - PC Version
PC version by Dave Katz, <dkatz@merit.edu>, based on an X11 version
by John Mackin, <john@cs.su.oz.AU>, based on a Suntools program
by John Walker, <kelvin@acad.uu.NET>.
This program is a clock that shows which portion of the Earth's surface is
illuminated by the Sun. It displays the current time in both the local
time zone and UTC.
To set your time zone correctly, put the following in AUTOEXEC.BAT:
set TZ=EST5EDT
The "5" is the number of hours west of UTC for the local time zone,
and "EST" and "EDT" are the strings to display for standard and daylight
time, respectively. Alter for your own time zone as need be. If you
don't set it, it will default to the Source of BSD Unix (PST8PDT).
This program is public domain and may be freely copied as long as the
notices at the top of sunclock.c remain intact.