Actually for a photon time is so dilated, it does not exists anymore. From its perspective everything "happens" at the same "time". There are quite a few answers for this :
https://www.quora.com/Does-a-photon-experience-time
https://www.reddit.com/r/askscience/comments/2slx5n/how_is_i...
https://www.reddit.com/r/askscience/comments/2t8qr1/do_light...