I've read many answers to this problem but no answer solves my problem
I am trying to parse this string :
"2013-10-07T23:21:00+01:00"
to a Date object with the simpledateformat :
"yyyy-MM-dd'T'HH:mm:ssZZZZZ"
but it keeps producing the error:
java.text.ParseException: Unparseable date: "" (at offset 0)
Note: I am trying this on Android, I'm a beginner.
Try with following code
If you use java 7, you can use:
You can check more here