Hi,
user input is always a String. You can convert that String into a Date object using SimpleDateFormat. Have a look at the API.