I believe in Einstein's theory of relativity, pertaining to this situation.
When black holes connect, they create a sort of tunnel, called a wormhole. Inside this tunnel, theoretically, time may not even 'exist.' Therefore, if it were possible to travel through a wormhole to the other end, you would have been transported billions of light-years away, and possibly into another time.