I need to run a report, grouped by week. This can be done using group by week(date), but the client wants to set the day of the week that marks the end of the week. So it could be Tuesday, Wednesday, etc. How can I work with this in a group on request?
The datetime column type is a unix timestamp.
source
share