title: how to convert TimeUnit to seconds or hours?
body: <p>I want to convert TimeUnit to seconds or hours , I've asked a lot but do not get a satisfactory answer.
  I've read on     <a href="http://developer.android.com/reference/java/util/concurrent/TimeUnit.html#toHours(long)" rel="nofollow">http://developer.android.com/reference/java/util/concurrent/TimeUnit.html#toHours(long)</a> but I don't understand to use
  example:</p>
  
  <pre><code>String strfileDate = "2012-04-19 15:15:00";
   DateFormat formatter2 = new SimpleDateFormat("yyyy-mm-dd hh:mm:ss");
          Date da =formatter2.parse(strFileDate);
          long diffInMs = da.getTime() - new Date(System.currentTimeMillis()).getTime();
          long diffInSec = TimeUnit.MILLISECONDS.toSeconds(diffInMs);
  </code></pre>
  
  <p>I want to convert valuse of "diffInSec" to Seconds, hours</p>