I need to convert the string of the form Mar 28,2012 to 28 Mar 2012 removing (,) How to do this in java?
Asked
Active
Viewed 66 times
-3
-
I am not aware how to do this,as such i have posted here – sheetal_r oswal Mar 28 '12 at 18:46
-
Which language is your code written on? – G21 Mar 28 '12 at 18:46
-
@talnicolas i just need to convert String Mar 28,2012 to 28 Mar 2012 – sheetal_r oswal Mar 28 '12 at 18:49
-
The question mentioned by @talnicolas should show you how to solve your problem. – jahroy Mar 28 '12 at 18:54
1 Answers
1
A couple places to look to get you started:
http://docs.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFormat.html
http://docs.oracle.com/javase/6/docs/api/java/util/Formatter.html
http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html

jahroy
- 22,322
- 9
- 59
- 108