This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Specifically, you probably want to use SimpleDateFormat sdf = SimpleDateFormat("MM/dd/yy hh:mm aa"); to parse the date into a Java Date object: Date d = sdf.parse("4/8/02 8:47 AM"); Then compare it to another Date: d.after(new Date());
subject: How to compare date in this format:4/8/02 8:47 AM?