problem to convert string to date format on android
<p>I just want to convert string to date format on android.
my date is:
    Wed, 24 Aug 2011 08:28:44 +0200</p>

<p>I wrote this code:</p>

<pre><code>pubDate = "Wed, 24 Aug 2011 08:28:44 +0200";

        //create SimpleDateFormat object with source string date format
    //  "EEE, d MMM yyyy HH:mm:ss Z"
        DateFormat sdf = new SimpleDateFormat ("EEE, d MMM yyyy HH:mm:ss Z",Locale.US);


        //parse the string into Date object
        try {
            return (Date) sdf.parse(pubDate);
</code></pre>

<p>and when I get to return in the debug I get page of -->Source not found with button edit source lookup path.</p>

<p>thanks for help!</p>
