You try to parse (String to Date) "09-Sep-2010" using "yyyy-mm-dd". That's not going to work. You want to parse with one DateFormat, then format (Date to String) with another DateFormat. Remember, Date objects only have a format for debugging purposes.