#Convert String to Date in Java
or
java.util.Date = java.text.DateFormat.getDateInstance().parse(date String); |
SimpleDateFormat format = new SimpleDateFormat( "dd.MM.yyyy" ); Date date = format.parse( myString ); |