Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program to determine holidays
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00430637
Message ID:
00430835
Views:
17
I searched on "holiday" and didn't see anything more recent. But not everyone uses descriptive titles, so I may have just missed it.

I don't want to use a table because it would be a pain to include with the class. Besides, I'd rather have a program do it than have to fill in a table with the next and previous n years of holidays. Who knows what year someone is going to set the calendar to? I want to make sure it will work for any year, past or present, otherwise I might-as-well just not do it at all.

Thanks,

Michelle


>Hi Michelle,
>
>This was actually asked less than a week ago. You might want to search again.
>
>The easiest way to tackle this is to set up a table with the guilty dates and simply search on them.
>
>You could add a function to your app that checks if there are holidays scheduled for the current year and if not, bring up a form to allow the user to enter them.
>
>I don't think it's worth it to spend a lot of time writing algorithms and things that will make other developers go "ohhhhh", but have little or no effects on the users' perception of your work [of art], especially when I don't think anyone will mind having to spend 5 minutes entering 10 dates once a year.
>
>Of course, if you do need your app to know if 4/14/2078 is easter, things are different...
Previous
Reply
Map
View

Click here to load this message in the networking platform