Special thing every hour from list
<p>I have a list of dates in an array (in unix integer format).</p>

<p>I have sorted these numbers in ascending order.  Done.</p>

<p>Now, I am looping through every element using the foreach command.  </p>

<p>I am trying to add a <code>echo '&lt;p&gt;';</code> every time the hour changes in the data...so I am trying to get a list of the dates, sorted, and with a <code>&lt;p&gt;</code> every hour so they are in hourly blocks... </p>

<p>How to do this?</p>
