I want to convert string to date and get total days from the current
date.
edittext1 date1 = new edittext(this);
Date d = new Date();
String date = (new SimpleDateFormat("yyyy.MM.dd")).format(d);
final EditText date2 = new EditText(this);
edit2.setText(date2);
I want to subtract date1 by date 2 to get total days.
Please help me..
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en