How do I get the current time and date in milliseconds?
<p>I want to get the current time and date in milliseconds. How can I get this?</p>

<p>I tried this:</p>

<pre><code>Date date=new Date() ;  
System.out.println("Today is " +date.getTime());
</code></pre>

<p>It will return the milliseconds from the 1 Jan 1970. </p>

<p>But I want the current millisecods of the today's date, like:</p>

<pre><code>23:59:00 = 86340000 milliseconds
</code></pre>
