I am writing a small project for study. I want to ask for advice.
There are two functions that should change every 7 days. The beginning of the report on September 5, the end of June 30.
For example, 5-11 upper week, 12-18-lower week, etc.
The script will constantly turn to the current function.
I will answer all your questions in the comments)