$current_interval_id = (int)$day_interval->getId();