Jun 07
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd");
String input = "2007-05-04";
Date d;
try {
d = formatter.parse(input);
}
catch (ParseException e) {
e.printStackTrace();
}
Related posts:
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd");
String input = "2007-05-04";
Date d;
try {
d = formatter.parse(input);
}
catch (ParseException e) {
e.printStackTrace();
}
Related posts: