Question: I'm using `SimpleDateFormat` to parse Date String ase bellow:

```
final SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-DD");
System.out.println(formatter.parse(firstDate)); 

```

And for String "`2011-04-02"` i got after parsing `"Sun Jan 02 00:00:00 EET 2011"` so Month is Jan there but must be Apr.

What i'm doing wrong?

Answer: 
Try: `SimpleDateFormat("yyyy-MM-dd")`.

`DD` is day of year, that's why you got 2nd of January.
Your date format incorrect. use `"yyyy-MM-dd"`

```
final SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
System.out.println(formatter.parse("2011-04-02"));

```

Live [Demo](http://ideone.com/9CkehV)