I decided to go with the simplest approach and added a following rule:
For getting current date always use this terminal command: "date /t"
This is a simple terminal command for Windows. You can replace it with your OS’ command and it should work. Just for fun I asked Claude how to get system date if I develop an IDE based on VS code. Looks like is one (1) line of code:
const currentDate = new Date().toISOString().split('T')[0];
If this is true I am speachless.