This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm now trying to check an input date is valid or not:that is DOB, if the date is the future date,it cannot be DOb and so alert that the Date is invalid. if not....accept it. So......first..I have to change the incoming date form to my fixed date form.Then compare it. I know the concept ,but I just want to get tge reference. Thank you. Pls help.
Use the SimpleDateFormatclass to convert your input date to a Dateobject. Create another Date object tio represent the current time and then use methods in the Date class to compare them. [ June 05, 2008: Message edited by: Joanne Neal ]