How to convert the string "Thu Jul 18 13:20:12 GMT+05:30 2013" in date in android? Using DateFormatter and SimpleDateFormatter throw an exception saying cannot parse the date format while using it to convert into date.
['https://Stackoverflow.com/questions/17724172', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1954375/']
```
SimpleDateFormat formatter = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzzz yyyy");
    try {
        String dateString = "Thu Jul 18 13:20:12 GMT+05:30 2013";
        Date date = formatter.parse(dateString);
    } catch (Exception e) {
        e.printStackTrace();
    }

```

this is how we doing in android..but if you can post your code then can help you precisely
You can also do this: 

```
SimpleDateFormat dateFormat = new SimpleDateFormat("DD-MM-YYYY");
Date dd = dateFormat.parse("string")

```