finish time parse groupby