divide the different time into there groups.