Added method to get the iteration for a given date