To be very specific , I have a string of date in any format and I want to convert it to String as “20121112” any help please.?..I know this may be done through SimpleDateFormatter.
Share
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.
There is no magic you can apply here. First you need to work out what the date format is, then you need to convert it. For example, is 01/02/03 the 1st of Feb 1903 or 2003, or is it the 2nd of Jan 2003, or 3rd of Feb 2001. You decide. 😉