Change the date 14 aug 2011 to the format 20110814 .. how can i do that in java ?
Here 14aug is a string … String date=”14aug”;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Reference:
java.text.SimpleDateFormatUpdate: the question by The Elite Gentleman is important. If you start with a
String, then you should first parse it to obtain thedateobject from the above example: