Calculating Phases of the Moon

Gregory Hicks COMFLEACTS hicks at walker-emh.arpa
Sun Feb 14 22:19:49 AEST 1988


While I was an under-grad at the University of Utah many moons ago, I
used a program called 'calendar' that allowed you to make a calendar that
started on whatever day of the week you wanted your week to start on (Mon,
Tue, etc), allowed you to list important days by specifying the date, or day
of the week and frequency (ie: every other Monday or Every Monday).

This calendar program figured out what day of the week the year started on
by calculating what date in March/April Easter fell on (this is based on the
phase of the moon...) and then counting backwards an appropriate number of
days (calculating back really...)

This calculation was based on something called 'The Golden Number' and was
part of a programming problem given to beginning programming students...

The algorithm was correct after the calendar changed from the Julian
Calendar to the Gregorian Calendar... (Before that, you had to take into
account the number of days that were 'lost' in the change...

I would like very much to get my hands on this program because...  First I
have a requirement to calculate phases of the moon, second, I
want to port it to another system, and LASTLY, I need the verbage that
describes the 'History' of the Gregorian Calendar...

Anybody have any idea where it might be found?  The guy that wrote it
(I THINK) was Carl M. Ellison.  Unfortunately, I don't know where to fing
him anymore because it HAS BEEN over 17 years since I left there...

Regards,
Gregory Hicks
<hicks at walker-emh.arpa>



More information about the Comp.lang.c mailing list