By using this mental trick developed by mathematician John H. Conway, you can figure out the day of the week for any date, past or future, in a few seconds with just one hand. And no, that one hand is not looking to Google for the answer. It uses an algorithm he devised called the Doomsday Rule: [It draws] inspiration from Lewis Carroll's perpetual calendar algorithm.