I\'m currently working on some simple project in Java and I have date in the following string:
Java
String dateString = \"Sun 7/14 03:44 AM 2013\";
SimpleDateFormat formatter = new SimpleDateFormat("/* type your own format*/"); String formattedDate = formatter.format(todaysDate); System.out.println("Formatted date is ==>"+formattedDate);
try this code