title: PHP: How can I get the values, with 3 minutes each element, out of my array?
body: <p>How can I get the values out of my array if there is within 3 minutes apart?
  This is my array, $array1</p>
  
  <pre><code> Array ( 
  [0] =&gt; Array ( [id] =&gt; 47523 [date] =&gt; 12-02-13 14:36:32 ) 
  [1] =&gt; Array ( [id] =&gt; 65454 [date] =&gt; 12-02-13 14:36:32 ) 
  [2] =&gt; Array ( [id] =&gt; 47523 [date] =&gt; 12-02-13 13:56:48 ) 
  [3] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:56:48 ) 
  [4] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:08:51 ) 
  [5] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:07:43 ) 
  [6] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:09:43 ) 
  )
  </code></pre>
  
  <p>How can i get this output</p>
  
  <pre><code>Array ( 
  [0] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:08:51 ) 
  [1] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:07:43 ) 
  [2] =&gt; Array ( [id] =&gt; 38639 [date] =&gt; 12-02-13 13:09:43 ) 
  )
  </code></pre>