If I select a date from calendar it is showing the day of yesterday. I'm doing a project on date picker .
SimpleDateFormat dateFormat = new SimpleDateFormat("dd MMM, E",
Locale.ENGLISH);
Date dat =new Date(year,month,date);
str = dateFormat.format(dat);
try this..