What day of the week was January 4, 1797?

The day of the week January 4th, 1797 fell on was a Wednesday.