The Sun is at an average distance of about 93,000,000 miles away from Earth. It is so far away that light from the Sun, traveling at a speed of 186,000 miles per second, takes about 8 minutes to reach us.
The diagram attached shows the Earth and Sun. The most likely time for the location marked with the X would be 11:59 PM.