DoomsdayAlgorithm

Master John Conway's mental method to calculate the day of the week for any date — in seconds.