What day of the week was August 4, 1864?

The day of the week August 4th, 1864 fell on was a Thursday.