What day of the week was July 22, 1040?

The day of the week July 22nd, 1040 fell on was a Wednesday.