I’ve been working on some DQL queries recently and I’m trying to figure out if it’s possible to split the results by calendar intervals such as a day, week, or month. I’ve noticed the bin and interval parameter allows for relative intervals, but I’m looking for an absolute interval based on the calendar.
Has anyone encountered this before or knows how to achieve this?
formatTimestamp is a more generic alternative. You can format a timestamp to your needs based on a pattern (see the link in the doc for different patterns):