Hi Oscar
It is not possible to group based on time but I would like to understand more about the scenario you are trying to build. Note however, that you should be able to achieve what you want by grouping on a custom field which gets populated by a plugin.
Thanks
Abhishek Agarwal MSFT