converting a string to java date
I have  a string in the following format.
<br>

    07/06/2011 5:06
    mm/dd/yyyy hh:mm

am using following code

    DateFormat dateFormater = new SimpleDateFormat("mm/dd/yyyy hh:mm");
    date = (Date)dateFormater.parse(dateTimeStr);


    but for input = 03/05/2011 9:45
    i get op = Wed Jan 05 09:45:00 IST 2011 

<br>
Why so?I gave month as march but i am getting jan as month
<br>
Whats the issue with my code?



converting a string to java date
===

I have  a string in the following format.
<br>

    07/06/2011 5:06
    mm/dd/yyyy hh:mm

am using following code

    DateFormat dateFormater = new SimpleDateFormat("mm/dd/yyyy hh:mm");
    date = (Date)dateFormater.parse(dateTimeStr);


    but for input = 03/05/2011 9:45
    i get op = Wed Jan 05 09:45:00 IST 2011 

<br>
Why so?I gave month as march but i am getting jan as month
<br>
Whats the issue with my code?


