[Solved] How to get day of week name from selected date month and year in Android?
First convert your Date in to specific Date format using SimpleDateFormat Use SimpleDateFormat simpleDateFormat = new SimpleDateFormat(“EEEE”); to get Day name in week WHERE EEEE -> Day name in week SAMPLE CODE SimpleDateFormat inFormat = new SimpleDateFormat(“dd-MM-yyyy”); try { Date myDate = inFormat.parse(date+”-“+month+”-“+year); SimpleDateFormat simpleDateFormat = new SimpleDateFormat(“EEEE”); String dayName=simpleDateFormat.format(myDate); } catch (ParseException e) { … Read more