July 8, 2040 is a Sunday — that’s in 5,143 days. Below you can see exactly how to work the weekday out in your head with the Doomsday algorithm, along with a few other facts about the date.