Hi, I have seen your code. There was an error in the line beginning with "input.set" part of your code. You forget that input is an instance of Calender and its arguments must contain primitive integers and not Integer objects. First remove your error by writing
Secondly, write properly what is your problem regarding current date.
What I understand with your problem is; you want to compare user input date with the current system date.
Tell me whether the user-input date could be less than system date or not.
Note: It might be possible in future that I can't respond soon due to time-shortage. But if I have time, then surely I visit javaranch. Regards, Vaibhav Goel