xiong
Programmer
- Feb 13, 2003
- 93
I'm looking for some ideas here. I have a table of rental reservations that include a arrival date and departure date (dtArrv, dtDepa). I need to compare this date range to another table of holiday date ranges (not single dates). If there is an overlap, I simply need to warn the user that the date range selected includes such and such holiday week/weekend.
I have a table with the holidays listed, but I would need to populate those dates out many years in the future. or strip the year from the date, and make exceptions for leap years. And the Thanksgiving/Easter holidays don't make it any easier either.
Does anyone out there have some ideas for me on which direction to head?
"Only the educated are free.
I have a table with the holidays listed, but I would need to populate those dates out many years in the future. or strip the year from the date, and make exceptions for leap years. And the Thanksgiving/Easter holidays don't make it any easier either.
Does anyone out there have some ideas for me on which direction to head?
"Only the educated are free.