XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
patrikG
DevNet Master
Posts: 4235 Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK
Post
by patrikG » Fri Mar 31, 2006 3:17 am
Does anyone know an API that returns national/international holidays for a month and/or year? Say, I query "2007" I would get back Easter, bank holidays (or equivalent) etc.
Thanks
hawleyjr
BeerMod
Posts: 2170 Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA
Post
by hawleyjr » Fri Mar 31, 2006 3:29 am
patrikG
DevNet Master
Posts: 4235 Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK
Post
by patrikG » Fri Mar 31, 2006 3:36 am
hawleyjr wrote: Lamest PHP functions ever
lol, j/k
True
PHP's calendar extension doesn't really offer much apart from Easter and calendar conversion. But Easter is just an example - is there a Web API that returns all holidays of a year (or month)?
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Fri Mar 31, 2006 6:01 am
patrikG
DevNet Master
Posts: 4235 Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK
Post
by patrikG » Fri Mar 31, 2006 7:10 am
Brilliant, thanks Weirdan.
hawleyjr
BeerMod
Posts: 2170 Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA
Post
by hawleyjr » Wed Apr 05, 2006 11:22 am
Don't want to bring up a dead post but I was reading this
blog . Which brought me to this
pear package.
Though it may be of some help from someone