Days of the Week, Bitwise Edition I show an inline table-valued function to extract values from an integer encoded with days of the week.