the same way it is done for collections: https://docs.statamic.com/tags/collection#group_by_date

I just have a replicator with a single date field and that would be a total overkill to use collection for this purpose.