3 Replies Latest reply: Jun 8, 2007 2:45 PM by 807606 RSS

    hard time inconverting object to date...please urgent


      I have obect .eg:In my object I have "Fri Jun 08 11:14:21 PDT 2007".

      I am tryoing to convert into date .
      This is how I am doing.
                                     SimpleDateFormat df=new SimpleDateFormat("EEE MMM dd HH:mm:ss z YYYY");
                                  Date     date=df.parse(object);
      I am getting Unparseable date: "Fri Jun 08 11:14:21 PDT 2007" error.

      Please help me