What day of the week was August 31, 1797?

The day of the week August 31st, 1797 fell on was a Thursday.