How do compare dates when one of those are in string format in android
- by Raj
I am very much new to android so need some good help with a code example.
I am getting a date in form of string from a server in the following format
2012-08-17 00:00:00
I want to compare this string with current date to find the difference between the dates in the form of year, months and days...
I tried playing around it in the following…