What day of the week was July 22, 1017?

The day of the week July 22nd, 1017 fell on was a Tuesday.