Hello i am getting the current date (in format 12/31/1999 i.e. mm/dd/yyyy) as using the below code:
Textview txtViewData;
txtViewDate.setText("Today is " +
android.text.format.DateFormat.getDateFormat(this).format(new Date()));
and i am having another date in format as: 2010-08-25 (i.e. yyyy/mm/dd) ,
so i want to find the difference between date in number of days, how do i find difference in days?
(In other words, i wants to find the difference between CURRENT DATE - yyyy/mm/dd formatted date)