amount of overlaping dates

From: Date: Thu, 03 Dec 2009 10:52:32 +0000
Subject: amount of overlaping dates
Groups: php.general 
Request: Send a blank email to php-general+get-300240@lists.php.net to get a copy of this message
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.12 8.12 5.12 12.12 9.12 16.12 Obviously the first and last daterange do not overlap. So the amount of overlaping bookings is 2. But how to identify this with PHP?! Any ideas? Thank you for any help on this!! Merlin

« previous php.general (#300240) next »