How to parse String data using SimpleDataFormat?
<p>I have the following code:</p>

<pre><code>    SimpleDateFormat format=new SimpleDateFormat("yyyy.MM.dd HH:mm");
    try {
            Date date=format.parse("2012.9.11 02:00");
                            Log.i("date", date.toGMTString());
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            Log.e("exception", e.getMessage());
        }
</code></pre>

<p>But I've got the message: "10 Sep 2012 22:00:00 GMT", i.e. incorrect date. How can I fix it? </p>
