Arduino to arduino IR communication?

Hello I have 2 Arduinos one Transmitting and one Receiving. About 10 feet away from each other. Is there a way of Displaying the Actual Distance between the two arduino in programming?

Joseph

No