java - wrong date in SimpleDateTime parse -
This is the string I have:
Sat, Nov 02, 2013 at 5: 10 pm I am trying to parse it in a date time using this formater:
DateFormat formatter = new SimpleDateFormat ( However, this is when I use it to parse the date string: However, this is when I use it to parse the date string:
Sat Jan 05 17:10:00 CST 2013 I think I should make the format wrong Yes, but I did not know where it is.
Capital YYYY There is some name format. You want lowercase yyyy for the actual year.
Comments
Post a Comment