Date Comparision using Java
- by Lakshman
To Date (User Input - format - MM/dd/YYYY)
Current Date.
I need to compare the current date with To Date.
Note: currenet date i get using Date currDt = new Date().
I have to display a report only when the toDate is equal to or more than currentDate.
How to compare both the date.
[ToDate is a String type i always get in mm/dd/yyyy]
Current…