looping datehash