I'm developing an android app using Eclipse and android version as API-15, (ICS).

I'm having a strange problem parsing string into date object. Here's my code:

```
DateFormat df = new SimpleDateFormat("M/d/yyyy h:mm:ss a");
df.setTimeZone(TimeZone.getTimeZone("gmt"));
String st = "1/1/1990 12:00:00 AM";

try {
    Date dt = df.parse( st );
        return dt;
    } catch (ParseException e) {
        return null;
    }

```

It keeps giving ParseException error. I've tried various combination of date strings but still they cannot be converted into date object.

Also my string is supposed to contain a date+time in UTC, so the new date object to be created would be in UTC.

Any ideas anyone?