SEE ANSWER FROM @Basil Bourque for most up to date answer
For example, if I have a \"Date\" variable \"date1\" with a value of (dd/mm/yyy) 03/07/2011, which is a S
A more clear approach:
Calendar date = new GregorianCalendar(2011, 1, 1); date.add(Calendar.WEEK_OF_MONTH, -1); System.out.println(date.getTime());
use either WEEK_OF_MONTH or WEEK_OF_YEAR
WEEK_OF_MONTH
WEEK_OF_YEAR