I am calling t a web service to retrieve dates. These dates come in this format
"2018-01-24T05:00:00.000Z"
Now, I need to parse that to more legible, something like "dd-MM-YYYY"
, e.g. 1-24-2018
.
How can I do it?
I'm using Android Studio and a read about Instant but it requires minSdkVersion 26 and is set to 15 what is perfect for me right now.