Chronology Current Month Current Thread Current Date
[Year List] [Month List (current year)] [Date Index] [Thread Index] [Thread Prev] [Thread Next] [Date Prev] [Date Next]

Re: Calendar



Date to day algorithms tend to use some variety of Julian
day processing.
An integer arithmetic form of this calculation is given here:
(Toss the remainder when dividing by an integer)

Julian Day Num =
day + (306*m + 5)/10 + y*365 + y/4 - y/100 + y/400 + 1721119

Julian Day Number 0 starts at noon on jan 1, 4713 BC
--------------------------------------------------------

If you then add 1.5 to the JDN and divide by 7 the remainder
represents the day:
0 = sun, 1 = mon, etc.

The FAQ for sci.astro can be accessed via a browser pointed
at DejaNews for more details.

Regards
brian
**************************************************
At 18:36 7/28/97 -0600, you wrote:

Is there somewhere in the NET where I can look up what day of the week
corresponds to a given date???


Jim Green
JMGreen@sisna.com

**************************************************
brian whatcott <inet@intellisys.net>
Altus OK