Date currentDate = System.today();
System.debug('Start of week = '+currentDate.toStartOfWeek());
For English (United States) locale System.debug will display Sunday date as Start of week. And for English (United Kingdom) locale System.debug will display Monday date as start of week.
Irrespective of user's locale, Always I need to get Sunday date as week start date. Is it possible?
Date currentDate = System.today().toStartOfWeek().addDays(-1);
somthing like this. – Rahul May 13 '19 at 11:05