I have a
string coming in the format OCT/15/2004.
I have to convert this in to a date object.
I am using th following code:
SimpleDateFormat sdf = new SimpleDateFormat("MMM/DD/yyyy");
value="Jul/13/2004";
sdf.parse(value));
Here value is OCT/15/2004.
The date object i get is Jan/13/2004.
No matter what month is passed the parsed date object always has the month as Jan.
What is going wrong?