What day of the week was October 5, 1797?

The day of the week October 5th, 1797 fell on was a Thursday.