title: How can I find the amount of seconds passed from the midnight with Java?
body: <p>I need a function that gives me how many seconds passed from the midnight. I am currently using <code>System.currentTimeMillis()</code> but it gives me the UNIX like timestamp.</p>
  
  <p>It would be a bonus for me if I could get the milliseconds too.</p>