PHP date function date range
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8717861/php-see-if-date-range-is-partly-within-another-date-range">PHP, see if date range is partly within another date range</a>  </p>
</blockquote>



<p>I have 2 dates, a start date (2011-01-01) and an end date (2011-02-28).</p>

<p>I have a third date that starts on 2010-01-01 and ends on 2012-03-01.  This means that this third date falls within the first 2 dates range.</p>

<p>If the third dates start and/or end date is not within the 2 dates then it must be false.  </p>

<p>How can I check this using php?  </p>
