I have a bot which checks emails to see if a time period for a certain file upload is within a 3 month window.
Currently I’m assigning an int_variable that sets the value to the current month -4:
The bot then checks the incoming sting variable to see if it contains a month value of the current month -4.
This works, but my concern is when the month is January, and therefore the current month would be 1, -4 months from that wouldn’t work, or would it? I’m not sure.
I’m certain there a better way to do this, I tried assigning the month name from the month number but then got stuck in a loop of disallowing conversions from int to string.
Any advice would be appreciated.