Forum Discussion
ChayceDuncan
11 months agoQrew Captain
You can use strftime for simplicity like so:
{% if time.today.strftime("%w") == "0" %}
Note that day of week is 0 indexed so Sunday is 0, Saturday is 6
------------------------------
Chayce Duncan
------------------------------
- JeffPeterson111 months agoQrew Captain
Thank you! That's what I was after!
------------------------------
Jeff Peterson
------------------------------