The title is fairly straightforward but let me show an example.
The galaxy, SXDF-NB1006-2, which lies 12.91 billion light-years from Earth was spotted by the Subaru and Keck Telescopes in Hawaii.
However, my question is that how do we know how far that object is away from us? From my understanding, we would have to wait 12.91 billion light years for the light to hit our telescope before we can find even faintest trace of it.
It may be a fairly simple question to answer, however I've been curious for a long time.