What day of the week was July 5, 1040?

The day of the week July 5th, 1040 fell on was a Sunday.