Java - Convert Nanoseconds to HH/MM/SS
<pre><code>  long nanoseconds = System.nanoTime();
  long microseconds = nanoseconds / 1000;
  long miliseconds = microseconds / 1000;
  long seconds = miliseconds / 1000;
  long minutes = seconds / 60;
  long hours = minutes / 60;

  System.out.println (hours);
</code></pre>

<p>When ran at ~11:35 am on my Windows machine, prints <code>26</code>. There can't be 26 hours in a day and even if there were, it's not even close to the expected result <code>11</code>. Why doesn't this work? (Also I don't want to use any Time Date library, I know there are easier ways out there)</p>

<p>Hope this all formats correctly since I'm on my phone. Thanks everyone!</p>