What day of the week was May 27, 1017?

The day of the week May 27th, 1017 fell on was a Tuesday.