Separate date and time and for loop each date and time

thanks ! same method as what im thinking