On Wed, Oct 22, 2008 at 9:42 AM, chris burgess <[EMAIL PROTECTED]> wrote: > Also - anyone know of a handy php lib that we can query to get regional > holidays in NZ (which would tell us, "next Monday is a public holiday" etc).
Somebody on Google Calendars has gone to the trouble of inputting the official holidays list (http://www.ers.dol.govt.nz/holidays_act_2003/dates/2006_9.html), so it's available as XML: http://tinyurl.com/nz-holidays-xml Problems include the fact that the dates aren't particularly machine friendly, and that it wouldn't be much fun to parse out the region from, for example, "Hawkes' Bay Anniversary" to decide if it's a public holiday in a particular place. You're also relying on the person that entered the calendar keeping it up to date and accurate. Maybe somewhere to start, though? Dom --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
