Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String crsmDateString = "05/10/2011";
- SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
- Date d;
- try {
- d = dateFormat.parse(crsmDateString);
- System.out.println(d.toString());
- } catch (ParseException e) {
- e.printStackTrace();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement