Here is my code fragment
here date in 10-Sep-2013 09:53:37 format
TextView tvDate = (TextView) convertView.findViewById(R.id.entered_date);
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
tvDate.setText(dateFormat.format(salesReportItems.getDate().toString()));
TextView tvCardType = (TextView) convertView.findViewById(R.id.card_type);
tvCardType.setText(salesReportItems.getCardType().toString());
Please help me to sort out this issue.here is my error.
Dear Piyush,
Here is out put when i used your code