Doomsday Algorithm

The Doomsday algorithm is an algorithm for computing the day of the week given a particular date. Pretty cool way to figure this out if you don’t have a calendar or a computer handy.