Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
US Holiday updates utility
Message
 
 
To
26/11/2001 09:00:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00582854
Message ID:
00585746
Views:
63
>>Holidaze again.
>>
>>We have similar Holiday issues. First we had an app with a Holiday table. A function in our library, IsHoliday, determines if a date is a holiday or not. There is a logical recurring field for Xmas, New Years, 4th of July, etc. These only have to be entered once. Floating holidays have to entered manually. I suppose there is a rule for turkey day and other "first monday after..." but I didnt go that route.
>>
>>The next step was to share the Holiday table with other apps. It makes no sense to have multiple apps each with their own (and possibly different) holiday tables.
>>
>>Since our network is unstable, I'd like an app to copy the Holiday table out to NT shares, using a table to keep a list of UNC's.
>>
>>Better yet is to move to table upstream, and store it on the Sybase server. This requires a bunch of red tape, so it's still a VFP table on the network.
>>
>>Possible better still, would be to keep one on the internet that the whole org (or country) could use. Talk about a single point of entry.
>>
>>When the news of Outlook Calendar putting thanksgiving on wrong day went around, we considered getting our holiday list from outlook. It seemed safer to keep our own.
>
>Hi Hans,
> Nadya cross-posted (or the sysops moved it) this question in one of the other categories. Unfortunately it just left the listing. In there where a couple of sites that told how to figure moving holidays. Easter, for example, is a holiday based on the moon's cycle and a church commitee. It's a movable feast dependant on a lunar position, dependent on a moveable date, (beginning of Lent), relying on a council who doesn't always pay attention to the former. Put that into your calendar calculator and smoke it!
> Anyway, I couldn't find the reply that Nadya got. It's probably about two weeks old. Perhaps Nadya will respond the this or you could post to her.
>
>Pete

The site was posted by Michelle Cox http://home.wnm.net/~debi/dates.htm This site contains all Holidays with the rules for them. Since I needed only 8 basic US holidays (not Easter), I just used those definitions and easily calculated all dates for year 2002.

Here is the original thread Forum: Visual FoxPro Category: Visual FoxPro in general Title: Re: Program to determine holidays Thread #430637 Message #583612

Houston Brennan created a program for Easter calculation, which was sent to me by Michelle and Houston also (I haven't studied it closely, though). I also know, that there is FAQ here to calculate Easter's date (hard to spell author's name correctly).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform