Using DateFormat/ Calendar
Using DateFormat:
import java.text.DateFormat;
Date date = DateFormat.getDateInstance(DateFormat.SHORT).parse("19/01/2006");
System.out.println(date);
Using calendar:
import java.util.Calendar;
new Date(Calendar.getInstance().getTimeInMillis())
simple...