How to compare two Date and Time and get Day,Month,hour,min in Android? -
I have this type of string in format 01-18-2013 06:43:35 Now, I want to compare it Get date and day, month, hour, minimum, with current date and time. I searched it, but no solution was found ... please share some solutions .. Thanks ..
It can be helpful,
You can parse date by using the date format
DF = DateFormat.getDateInstance (); MyDate = df.parse (myString);
Comments
Post a Comment