What day of the week was May 22, 1017?

The day of the week May 22nd, 1017 fell on was a Thursday.