Extracted out part of arm_position_for_date.