you can try this in the PQ
first create a column based on the start time column
then group by data
at last ,remove useless column