What would i like to do is get the Monday's date from the current week and subtract it by 1 day. I do not need the time with the date. I've tried below code but it gives me Sunday's date instead of Monday and also time is getting included with the date.Thanks.
Date date = new Date();
System.out.println(date);
Calendar c = Calendar.getInstance();
c.setTime(date);
int dayOfWeek = c.get(Calendar.DAY_OF_WEEK) - c.getFirstDayOfWeek();
c.add(Calendar.DAY_OF_MONTH, -dayOfWeek);
Date weekStart = c.getTime();
System.out.println(weekStart);