# [Julia 0.6], 32 bytes Thanks to @Dennis for pointing out `<` saves a byte over `!=`. <!-- language-all: lang-julia --> @assert Dates.dayofweek(now())<7 [Try it online!][TIO-jc2dttoq] [Julia 0.6]: http://julialang.org/ [TIO-jc2dttoq]: https://tio.run/##yyrNyUw0@//fIbG4OLWoRMElsSS1WC8lsTI/rTw1NVsjL79cQ1PTxvz/fwA "Julia 0.6 – Try It Online"