what day of the week is day 6?
(AND time.day_of_week (JOIN time.day_of_week.sequence_number 6^^http://www.w3.org/2001/XMLSchema#integer))