title: PHP: timestamps between dates
body: <p>I have an array with timestamps. If this timestamps are between two given dates I need to collect them into another array.
  Let me use an example:</p>
  
  <p>Lets say $array1[] has:</p>
  
  <pre><code>Array ( [0] =&gt; 1299147500 [1] =&gt; 1299147453 [2] =&gt; 1299146476 [3] =&gt; 1299143220 [4] =&gt; 1297934349 [5] =&gt; 1297845742 [6] =&gt; 1297695551 [7] =&gt; 1296134251 [8] =&gt; 1295948452 [9] =&gt; 1295554308 [10] =&gt; 1295369389 [11] =&gt; 1295345559 [12] =&gt; 1295261432 [13] =&gt; 1295014784 [14] =&gt; 1294929846 [15] =&gt; 1294832875 )
  </code></pre>
  
  <p>I need to create $array2[] with those values from $array1[] that are between Thursday February 17, 2011 and Thursday March 3, 2011
  How can I do this?</p>
  
  <p>Thanks a ton</p>