Re: [PHP] determine date range

2007-12-14 Thread Richard Lynch
On Wed, December 12, 2007 10:39 am, slith wrote: I'm working on hotel type booking script where prices will vary depending on the season. prices are updated every year so i need to take a user inputed date and determine which season the date falls under. I would highly recommend adding a

[PHP] determine date range

2007-12-12 Thread slith
I'm working on hotel type booking script where prices will vary depending on the season. prices are updated every year so i need to take a user inputed date and determine which season the date falls under. i figured i can convert all dates into a timestamp and then run a series conditional

Re: [PHP] determine date range

2007-12-12 Thread Andrew Ballard
On Dec 12, 2007 11:39 AM, slith [EMAIL PROTECTED] wrote: I'm working on hotel type booking script where prices will vary depending on the season. prices are updated every year so i need to take a user inputed date and determine which season the date falls under. i figured i can convert all

Re: [PHP] determine date range

2007-12-12 Thread slith
yes, i was trying to keep things simple and avoid using a database but i think may go that route like you suggested. Andrew Ballard wrote: Will the boundary dates for each season change from one year to the next? If so, I would probably store the seasons in a database table and then just