I want to convert the date string \"Fri Sep 21 15:23:59 CEST 2012\" to \"2012-09-21T15:23:59\" in Java. I tried this with SimpleDateFormat and the following code:
Use
"EEE MMM dd HH:mm:ss z YYYY"
Note 3 MMM
MMM