I'm receiving this Timestamp string from the server:
"timestamp": "2021-02-21T22:15:37.672+00:00"
I'm not sure what format it's in
how I can format it to a Month day time format such as February 21st, 4:00pm
?
Edit:
Using the answer below:
String time = "2021-02-21T22:15:37.672+00:00";
try {
Date dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX").parse(time);
Log.d(TAG, "onCreate: " + dateFormat.toString());
} catch (ParseException e) {
e.printStackTrace();
}