I'm trying to parse 1980-02-22T00:00:00Z into "java.util.Date" using
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SS'Z'").parse(stringdate)
But I got error
caused by: java.text.ParseException: Unparseable date.
How to parse String like this into Date to get time in milliseconds? I've tried to use SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SS'Z'")
and SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")