One of the pieces of software I use most often as a historian is the simple command-line Unix program cal. It’s short for “calendar.” So if, for example, I want to see what day of the week June 19, 1866, was on, I just type “cal jun 1866” at the command line, and I get the calendar for that month.