What day of the week was May 31, 1004?

The day of the week May 31st, 1004 fell on was a Thursday.