Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
.d9 # Get the current day of week (0 = Monday, 6 = Sunday)
-6 # Subtract 6 from the day
/1 # Divide 1 by the result of the previous operation
# raising a "ZeroDivisionError" on sundays