<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I was interested in the US holiday Calendar
and therefore have collected the following information.</font>
<br>
<br><font size=2 face="sans-serif">Holiday Calendar </font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">New Years - 1st Jan</font>
<br><font size=2 face="sans-serif">Martin Luther King Jr. - 3rd Monday
of January</font>
<br><font size=2 face="sans-serif">Presidents Day - 3rd Monday of
the February</font>
<br>
<br>
<br><font size=2 face="sans-serif">Memorial Day - Last Monday in May</font>
<br><font size=2 face="sans-serif">Independence Day - 4th July</font>
<br><font size=2 face="sans-serif">Labor Day - Last Monday of May</font>
<br><font size=2 face="sans-serif">Columbus Day - 2nd Monday of October</font>
<br><font size=2 face="sans-serif">Veterans Day - November 11</font>
<br><font size=2 face="sans-serif">Good Friday - </font>
<br>
<br><font size=2 face="sans-serif">I got the following from http://www.smart.net/~mmontes/nature1876.html</font>
<br><font size=2 face="sans-serif">The actual origin of this algorithm
appears to be by an anonymous correspondent from New York to Nature in
1876 (Thanks Denis!). Samuel Butcher, Bishop of Meath, showed that this
algorithm followed from Delambre's analytical solutions, and produces the
date of Easter for all years. You can see the algorithm, as well as version
for Orthodox Easter at another Easter Date site. </font>
<br><font size=2 face="sans-serif">This algorithm appears in Practical
Astronomy With Your Calculator, 2nd Edition by Peter Duffett-Smith, and
he obtained this algorithm from Butcher's Ecclesiastical Calendar, published
in 1876. This algorithm has also been published in the 1922 book General
Astronomy by Spencer Jones; in The Journal of the British Astronomical
Association (Vol.88, page 91, December 1977); and in Astronomical Algorithms
(1991) by Jean Meeus. </font>
<br>
<br><font size=2 face="sans-serif">This algorithm holds for any year in
the Gregorian Calendar, which (of course) means years including and after
1583. </font>
<br>
<br><font size=2 face="sans-serif">In the text below, / represents an integer
division neglecting the remainder, </font>
<br><font size=2 face="sans-serif">while % is division keeping only the
remainder. So 30/7=4 , and 30%7=2 . </font>
<br>
<br><font size=2 face="sans-serif"> a=year%19</font>
<br><font size=2 face="sans-serif"> b=year/100</font>
<br><font size=2 face="sans-serif"> c=year%100</font>
<br><font size=2 face="sans-serif"> d=b/4</font>
<br><font size=2 face="sans-serif"> e=b%4</font>
<br><font size=2 face="sans-serif"> f=(b+8)/25</font>
<br><font size=2 face="sans-serif"> g=(b-f+1)/3</font>
<br><font size=2 face="sans-serif"> h=(19*a+b-d-g+15)%30</font>
<br><font size=2 face="sans-serif"> i=c/4</font>
<br><font size=2 face="sans-serif"> k=c%4</font>
<br><font size=2 face="sans-serif"> l=(32+2*e+2*i-h-k)%7</font>
<br><font size=2 face="sans-serif"> m=(a+11*h+22*l)/451</font>
<br><font size=2 face="sans-serif"> Easter Month
=(h+l-7*m+114)/31 [3=March, 4=April]</font>
<br><font size=2 face="sans-serif"> p=(h+l-7*m+114)%31</font>
<br><font size=2 face="sans-serif"> Easter Date=p+1
(date in Easter Month)</font>
<br>
<br><font size=2 face="sans-serif">I suppose from here, you can code your
holidays for a year etc.</font>
<br>
<br><font size=2 face="sans-serif">Only thing I will say (Probably you
already know) is that within HP powerhouse, you get a day of the week by
doing the mod(day(sysdate),7), which would give you numbers from
0 to 6, where zero is a Sunday.</font>
<br>
<br><font size=2 face="sans-serif">I hope this helps.</font>
<br>
<br><font size=2 face="sans-serif">Nilesh Patel.</font>
<br>
<br>
<br>
<br><font size=6 color=#006000 face="Tahoma"><b>E</b></font><font size=5 color=#006000 face="Tahoma">xtranet</font>
<br><font size=1 face="sans-serif">roger32909@bellsouth.net@lists.sowder.com
- 21/02/2006 15:30</font>
<br><font size=1 face="sans-serif"> </font>
<p><font size=1 color=#800080 face="sans-serif">Sent by:
powerh-l-bounces+nilesh.patel=bnpparibas.com@lists.sowder.com</font>
<p><font size=1 color=#800080 face="sans-serif">To:
</font><font size=1 face="sans-serif">powerh-l</font>
<p><font size=1 color=#800080 face="sans-serif">cc:
</font>
<p><font size=1 color=#800080 face="sans-serif">Subject:
</font><font size=1 face="sans-serif"><b>US Holiday
Calendar?</b></font>
<br>
<br>
<br><font size=2><tt>I search the archives but found nothing regarding
generating a US holiday calendar. I found some algorithms on the
net and unless someone has already done it and is willing to share, I may
build (and share) procedures for a US holiday generator for a QUICK screen.<br>
</tt></font>
<br><font size=2><tt>--<br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>
Mailing list: powerh-l@lists.sowder.com<br>
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com<br>
Unsubscribe: "unsubscribe &lt;password&gt;" in message
body to powerh-l-request@lists.sowder.com<br>
http://lists.sowder.com/mailman/listinfo/powerh-l</tt></font>
<br><font size=2><tt>This list is closed, thus to post to the list you
must be a subscriber.</tt></font>
<br><pre>
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
</pre>