[PHP] amount of overlaping dates

2009-12-03 Thread Merlin Morgenstern
Hello again, I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start end 1.128.12 5.1212.12 9.1216.12 Obviously the first and last

Re: [PHP] amount of overlaping dates

2009-12-03 Thread David Otton
2009/12/3 Merlin Morgenstern merli...@fastmail.fm: I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start   end 1.12    8.12 5.12    12.12 9.12

Re: [PHP] amount of overlaping dates

2009-12-03 Thread Merlin Morgenstern
David Otton wrote: 2009/12/3 Merlin Morgenstern merli...@fastmail.fm: I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start end 1.128.12

Re: [PHP] amount of overlaping dates

2009-12-03 Thread David Otton
2009/12/3 Merlin Morgenstern merli...@fastmail.fm: That is what I thought first, too! But this does not work correct as there might be a booking starting for example tomorrow. There needs to be free place for the entire booking period. Ah, of course. I see the problem now. It's an odd