java program to get the current date without timestamp
<p>I need a java program to get the <strong>current date without timestamp</strong></p>

<pre><code>Date d = new Date();
</code></pre>

<p>gives me date and timestamp
But i need only date, without timestamp. I use this date to compare with another date object that does not have timestamp. </p>

<p>on printing </p>

<pre><code>System.out.println("Current Date : " + d)
</code></pre>

<p>of d it should print May 11 2010  - 00:00:00 .</p>
