PHP Date Range Check
<p>I have 2 date ranges</p>

<pre><code>[contract_start_date] =&gt; 2011-10-20 [contract_end_date] =&gt; 2011-10-29
</code></pre>

<p>and I want to verify if the dates below are in range of the date range above</p>

<pre><code> 2011-05-05 and 2011-10-10
</code></pre>

<p>the dates given must not in any way exceed the range of the contract </p>

<p>Is there a function for this in PHP ?</p>
