title: Comparing times and acting accordingly
body: <p>So I have a scenario:</p>
  
  <p>Using <code>System.currentTimeMillis()</code> I get the initial start time of my application.  Then, when I open it at another time, I get the time again.  Both of these times are saved as a <code>long</code> variable.</p>
  
  <p>What I need to do is compare these two times, convert this difference to hours (x 600,000), and for every hour that has passed, subtract 5 from another integer variable.  I can find the difference in time, convert it to hours, but I can't figure out to subtract 5 for every hour that has passed.  Any help or pseudo code would be GREATLY appreciated.</p>
  
  <p>-Nathan</p>