Comparing strings with hour
<p>Hy guys.</p>

<p>How can I compare this data...</p>

<pre><code>var str = '09:29';
var parts = str.split(':');
minutes = parts[1]; 
hour = parts[2];
</code></pre>

<p>with actual hour?</p>

<p>I have a table with that value and want to compare if it is 5 minutes older than the actual time.</p>

<p>Thks folks.</p>
