From: Tim S. <tp...@ma...> - 2006-01-07 02:58:51
|
On Fri, January 6, 2006 3:10, AndrewB said: > Hi Tim, > > I had considered your idea, but with Holiday you cannot specify a range of > dates, so I would have to add each schoolday individually :-( > > I also need to set different holidays for different schools/children. > > How do I check if $today is within a predefined pair of sates? I took a look at the holiday code in the main mh file. It's pretty straight forward. I think I could cobble together some user code to look through a file to see if $School_Holiday is set for the day, and some code to add date ranges to the file. If anyone is interested, I'll work on it next week. I'll be out in then Sandia, NM area from Sun-Sat, and lots of spare time in the evenings on my hands. Tim |