What day of the week was June 5, 1017?

The day of the week June 5th, 1017 fell on was a Thursday.

Emperor Sanjō of Japan (b. 976) died on this day in 1017.