I can't seem to get this to work, it says Unknown pattern character - "T"
Unable to parse the date 2011-07-22T12:01:34.9455820
Date theDate = DateUtils.parseDate(notif.dateStr, new String[]{"yyyy-MM-ddTHH:mm:ss.S"});
This won't work either(which is what I was doing first, and in this case it just gave a parse exception):
Date theDate = DateUtils.parseDate(notif.dateStr);
Where is my error?
Your error is that you are not providing a pattern that matches the format.
DateUtils JavaDoc api-3.3.2