What is the best way to convert this string to time and compare it to current time in Android? The string looks like this
2021-07-10T12:37:52.770268
For now i just thought about the splitting it base on T so it has date and time, but i dont know how to format and compare this kind of time string.
And how to display the time between them, like 10 minutes ago, 1 hour ago, etc).