Compare same date using java
<p>The date is selected by the user using a drop down for year, month and day. I have to compare the user entered date with today's date. Basically see if they are the same date. For example
the user entered 02/16/2012. And if today is 02/16/2012 then I have to display a message. How do I do it? 
    I tried using milliseconds but that gives out wrong results.</p>
