Grouping records by week (different week start day)


I understand how to group records by week. However, are we able to group records by week with a different start day? Our “business week” starts on Wednesdays and ends on a Tuesday. In that regard, I would like to group data by that “week”.