What day of the week was August 7, 1017?

The day of the week August 7th, 1017 fell on was a Thursday.