i am getting date from webservice
example:
Wed, 29 june 2011 07:13:33
now i dont want to show full date with time zone just Wed, 29 june 2011
any one guide me how to achieve this?
any help would be appreciated.
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.
This problem was already solved on StackOverflow here: Java string to date conversion
(that is converting date string to java date)
Here is for your example:
Printing out date itself should be the least of your problems