The firstDayOfWeek() method returns the first day of week for the specified date.
DayPilot.Date.firstDayOfWeek([firstDayOfWeek]); DayPilot.Date.firstDayOfWeek(locale);
DayPilot.Date object representing the first day of week.
var first = new DayPilot.Date("2020-01-08").firstDayOfWeek("en-us"); // new DayPilot.Date("2020-01-05T00:00:00")