On Wed, 20 Apr 2005, Robert wrote: > I need to populate a Pg database with holidays (US, Federal, > Christian, Islamic, and Jewish). I didn't find anything on CPAN (but > you have to know what to search for). The Islamic and Jewish ones are > a little problematic because they can shift for year to year. Do you > know of a resource I can look at?
How far out do you need to go? A few years? If so, there's little point in calculating the dates -- just download a list of dates and pump that into your database by whatever means you like. An excellent source for this kind of data is ICalShare. This section on their site should be what you're looking for: <http://icalshare.com/index.php?topic=holidays> Note that by just downloading the data, this ceases to be a Perl problem, unless you want to use Perl to parse the ICS / VCal data... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>